Missed tasks are starting more than once

nnCron and nnCron LITE discussion

Missed tasks are starting more than once

Postby semko » Sat, 03 Dec 2005, 10:22

Sometimes, when the system returns from hibernate, nncron starts missed tasks multiple times within the same second. See log:

08:06:10 1452 TASK [missed]: Diffbak
08:06:10 2928 TASK [missed]: Diffbak

Is there anything I can do to prevent this?

Sem
semko
 
Posts: 46
Joined: Sat, 08 Oct 2005, 17:42
Location: Germany

Postby Valery_Kondakoff » Sat, 03 Dec 2005, 12:04

which nnCron build is this? your OS? please, show as the source code of the task in question.
CU
VK
User avatar
Valery_Kondakoff
Site Admin
 
Posts: 769
Joined: Thu, 01 Jul 2004, 20:49
Location: Moscow, Russia

Postby semko » Sat, 03 Dec 2005, 19:05

Hi Valery,
Valery_Kondakoff wrote:which nnCron build is this? your OS? please, show as the source code of the task in question.

nnCron version: 1.91 RC2
OS: Windows XP Prof. SP2

The code:

#( Diffbak
RunMissed: 23:00
AsLoggedUser
LoadProfile
Time: 0 8 * * * *
Action:
PAUSE: 10000
StartIn: "C:\BAT"
ShowNormal NormalPriority
START-APP: C:\Programme\Software\4NT\4NT.EXE /c c:\bat\diffbak.btm
)#

Sem
semko
 
Posts: 46
Joined: Sat, 08 Oct 2005, 17:42
Location: Germany

Postby Valery_Kondakoff » Sun, 04 Dec 2005, 17:05

Try SingleInstance task option. Does this helps?
CU
VK
User avatar
Valery_Kondakoff
Site Admin
 
Posts: 769
Joined: Thu, 01 Jul 2004, 20:49
Location: Moscow, Russia

Postby semko » Mon, 05 Dec 2005, 00:06

Well, not really. I also had to use START-UPW instead of START-UP. Now it seems to work. Thank you for pushing me into the right direction :-)

Sem
semko
 
Posts: 46
Joined: Sat, 08 Oct 2005, 17:42
Location: Germany


Return to nnCron forum (English)

Who is online

Users browsing this forum: No registered users and 2 guests

cron