Could really do with a built-in function to return the current slaves [jobsData] “…/slave/slaveName/jobsData/jobId/” directory. It’s rather painful to have to construct this manually at the moment. Actually, same comment goes for finding the slaves current [plugins] “…/slave/slaveName/plugins/plugName/jobId/” directory as well. Both functions should also take into account whether the local Slave’s jobsData/Plugin directory path has been re-directed to another location.
The DeadlinePlugin class already has functions to get these paths. They’re the GetJobsDataDirectory() and GetPluginDirectory() functions, respectively. These paths include the job ID subfolder.
Cheers,
- Ryan
Ah, man! I knew that. Why the hell didn’t I look in the plugin class! I think the php board Smilies/emoticons need a new “foot in mouth” or “pistol to the head”.
Monday…must be Monday…
Thanks
Gotta love Mondays…