task is still active

nnCron and nnCron LITE discussion

task is still active

Postby mv » Mon, 17 Oct 2005, 19:08

Hy, I would like to know if is possible to delay start if the same job i still active.
By, Mario
mv
 
Posts: 2
Joined: Mon, 17 Oct 2005, 19:05

Postby VK » Tue, 18 Oct 2005, 10:20

Yes. Just search the docs for the words SingleInstance, GET and RELEASE...
CU
VK
User avatar
VK
 
Posts: 680
Joined: Wed, 14 Jul 2004, 19:17

Postby mv » Tue, 18 Oct 2005, 11:04

Thanks, but also on lite version?
mv
 
Posts: 2
Joined: Mon, 17 Oct 2005, 19:05

Postby VK » Tue, 18 Oct 2005, 11:16

It _is_ possible even in nnCron LITE, using it's FORTH scripting feature (take a look in the docs). Of course, this is not as userfriendly, as using nnCron built-in predefined solutions and requires some programming experience and FORTH knowledge.

Just create a variable-flag and set it, say, to 1, when the task (job) is running and to 0, when it is not running. And in the first line of the same FORTH script check this variable... If it is not equal to 1 - do smth useful.

HTH!
CU
VK
User avatar
VK
 
Posts: 680
Joined: Wed, 14 Jul 2004, 19:17


Return to nnCron forum (English)

Who is online

Users browsing this forum: No registered users and 1 guest

cron