CGJobMgr and NMS

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
applejack
Power Poster
Power Poster
Posts: 1014
Joined: Fri Mar 30, 2007 2:28 am

CGJobMgr and NMS

Post 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.
markS
Forum Members
Forum Members
Posts: 58
Joined: Wed Aug 20, 2008 3:04 pm

Re: CGJobMgr and NMS

Post 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.
applejack
Power Poster
Power Poster
Posts: 1014
Joined: Fri Mar 30, 2007 2:28 am

Re: CGJobMgr and NMS

Post 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.
markS
Forum Members
Forum Members
Posts: 58
Joined: Wed Aug 20, 2008 3:04 pm

Re: CGJobMgr and NMS

Post 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.
applejack
Power Poster
Power Poster
Posts: 1014
Joined: Fri Mar 30, 2007 2:28 am

Re: CGJobMgr and NMS

Post by applejack »

It was quite sometime ago and I have mentioned this to Calguy a few times.
Post Reply

Return to “Modules/Add-Ons”