Problem understanding Rule and interval

nnCron and nnCron LITE discussion

Problem understanding Rule and interval

Postby swiss » Mon, 11 Dec 2006, 14:53

Hi all,

i have the following issue with rules and time interval. the idea is to run a specific task during the day at different interval times, say every 5 minutes and during the night every 15. somehow it just seems not to work. i see the task sometimes running at the 5 minute interval even at night.

Any help is very appreciated. Matt

#( task

Rule: INTERVAL: 08:00-20:00/00:05 s1 @ 1 = AND s2 @ 2 = AND s3 @ 1 = AND
Rule: INTERVAL: 20:15-7:50/00:15 s1 @ 1 = AND s2 @ 2 = AND s3 @ 1 = AND

Action:
MSG: "hello"
)#
swiss
 
Posts: 12
Joined: Mon, 11 Dec 2006, 14:41

Postby Valery_Kondakoff » Mon, 11 Dec 2006, 16:57

I think there is much more efficient way to do this:

Code: Select all
Time: */5 8-19
Time: */15 20-7
Rule: \ your rule
Action:
\ etc


Does this works
CU
VK
User avatar
Valery_Kondakoff
Site Admin
 
Posts: 769
Joined: Thu, 01 Jul 2004, 20:49
Location: Moscow, Russia

Postby swiss » Tue, 12 Dec 2006, 09:38

fantastic stable. no crash anymore!

Thanks
swiss
 
Posts: 12
Joined: Mon, 11 Dec 2006, 14:41


Return to nnCron forum (English)

Who is online

Users browsing this forum: No registered users and 2 guests