Scheduler still does not work in 2.9.11

as in topic


when i want to run any script i must set start-at this same date , interval does not work..

I have configured ntp, script and sheduler

/ system scheduler 
add name="restart1" on-event=sscript start-date=jan/22/2006 start-time=04:40:00 interval=1d comment="" disabled=no

scheduler worked only at jan 22 after 1d nothing happen…

when i do print i see this

system script> print
 0 name="sscript" owner="admin" policy=ftp,reboot,read,write,policy,test,winbox,password last-started=jan/22/2006 01:59:38 
   run-count=2 source=
     :put [/system scheduler remove restart1];
     :put [/system scheduler add name="restart1" on-event="sscript" start-date=[/system clock get date] start-time =04:40:00
 interval=1d ];
     :put [/system reboot];

and is ok

but when i use export then i see this

# jan/25/2006 10:35:57 by RouterOS 2.9.11
# software id = HGGC-3TT
#
/ system script 
\n:put \[/system scheduler add name=\"restart1\" \r remove restart1\];
\n:put \[/system \ript\" start-date=\[/system clock get date\] start-time =04:40:00 interval=1d \];
    reboot\];" policy=ftp,reboot,read,write,policy,test,winbox,password

this is a bug or something :slight_smile:

when i run script manulay it’s working ok

this thing is happening only on routerboard500

any sugestions ?

do you have correct time in RB500? eg have you set it to connect to a NTP server ?

yes
time and date is correct

2.9.16 - scheduler still does not work

(Its some thing with date , if i set start date to Jan/01/1970 and time to 4:40 and interval 1 d the router is starting script only at 4 hours after start , after 1 day it do nothing)

Awaiting fix for it…

We also have problems with scheduler - sometimes works, sometimes doesn’t…

Out of 23 sites on one network, I set scheduler to mail backup files weekly - I get about 70 % of them, and a lot of them I get duplicates.

NTP set & running… OS 2.9.12 - 14