Community forum

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


Labutin
2010-06-10T14:21:11Z
nnCron has feature
SingleInstance 
Quote:

This option prevents simultaneous execution of two or more instances of the same task. While a task with SingleInstance option is being executed, no other instance of the same task cannot be started, and any attempt to start it will be suppressed.

In order to prevent a simultaneous execution of several different tasks (and two or more instances of the same task as well), one can use words GET и RELEASE. GET takes hold of a specified semaphore, and RELEASE releases it. These words use address of a variable (which is left on the stack after the variable has been used in the task) as their parameter. The succeeding tasks will be started, but they will be actually executed only after the preceding task releases the semaphore.


Is it possible in VisualCron?
Sponsor
Forum information
Support
2010-06-17T23:03:29Z
Yes, but we call that part Jobs and not Tasks. Tasks are part of a Job. By default it is single instance and do not allow multiple executions. This setting can be found in "Do not start Job if running" in main settings of a Job.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Labutin
2010-06-18T06:18:11Z
How about Single Instance of tasks pool (not only one task)?
Users browsing this topic
Scroll to Top