Page 1 of 1
CGJobMgr and NMS
Posted: Tue Aug 21, 2012 12:51 am
by applejack
I want to be able to set scheduled jobs for NMS. Is CGJobMgr able to do this and if so how as I read the help file and it is really not clear to me.
Re: CGJobMgr and NMS
Posted: Fri Aug 24, 2012 10:13 am
by markS
Hello,
Thought I'd answer you here, as it seemed like the appropriate place.
First question is do you have access to cron, either on the command line or via a control panel?
Assuming you do, then you need the url from the settings tab of the CGJobMgr module, e.g.
http://www.example.com/CGJobMgr/process.html
Edit cron and use the example line from the help for this module, pasting in your own url:
Code: Select all
*/10 * * * * wget -O /dev/null http://www.example.com/CGJobMgr/process.html >/dev/null 2>&1
Once you've saved the file, crontab will be updated with this task which will run every 10 minutes. That is all you should need to do. Once you've setup a job in NMS and started it, this task will handle the rest.
You should be able to see progress on the nms tab jobs, which should show the percentage complete.
Also make sure you are running the latest versions of these modules as the earlier versions didn't work correctly for me.
Regards,
Mark.
Re: CGJobMgr and NMS
Posted: Fri Aug 24, 2012 10:55 am
by applejack
Hi Mark
Ok thanks I'll take a another look. Part of my confusion was I think because it doesn't do what I had hoped it would which would be to allow a client to set up a date and time to process a NMS job as it used to in a version sometime ago which was dropped for some reason.
Re: CGJobMgr and NMS
Posted: Fri Aug 24, 2012 11:04 am
by markS
Hello,
No, I haven't ever seen that functionality in the nms module, maybe it was before I ever came to use it. Maybe file an enhancement request?
Regards,
Mark.
Re: CGJobMgr and NMS
Posted: Fri Aug 24, 2012 11:25 am
by applejack
It was quite sometime ago and I have mentioned this to Calguy a few times.