Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


Rahn
  •  Rahn
  • No customer Topic Starter
2010-04-27T21:51:06Z
I have a job that pings a server, and if it's inactive, it's shuts down other jobs.
When the server comes back up, I want to turn the jobs back on if they've been turned off.

I'm looking to determine if a job is active or not.
In the API, I'm using Server.Jobs.Activate(jobID) and Server.Jobs.DeActivate(jobID).
That part is working fine.

Is there a Server.Jobs.IsActive(jobID) equivalent that returns a bool value?
Or is there a different way to determine this?

(Version 5.5.5)
Sponsor
Forum information
Support
2010-04-27T21:55:38Z
JobObject.Stats.Active holds the active flag.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top