ADSJob class
Arcana Scheduler Help
When the SkipIfRunning property is set, Scheduler will not start the job if it is already running (e.g., has not completed its previous run).
boolean
C++ |
job->get_SkipIfRunning(VARIANT_BOOL *value) |
VB |
job.SkipIfRunning |
The Scheduler can reliably determine whether the job is running as long as the Scheduler service has not been restarted while the job in question was running.
The Scheduler also checks the system process list to see if the specified application is already running, even if the Scheduler did not start it.
For example, if the job runs the program myapp.exe, the Scheduler first checks to see whether the job is still running from its previous execution. If not (or if the Scheduler cannot determine), it checks the process list for myapp.exe. If the program was running (whether started by a user or the Scheduler or by some other means), the Scheduler will not run the job again.