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 ![]()
when i run script manulay it’s working ok
this thing is happening only on routerboard500
any sugestions ?