About scripts scheduler

Hello,

I wanted to ask how can I make schedule to run instantly when it’s created and then only 24 hours by interval?

put the date and the time after the current time for the time you need to click for svae the script.

/system scheduler
add name=“script_schedule_success” on-event=success_script start-date=aug/04/2014 start-time=startup interval=1d comment=“” disabled=no

I tried something like that but it doesnt start instanly (only after 24hours). If I change start-time to time after 5sec from current time then it’ll start after 5sec. But I want to put this shedule to another script so I can’t always change date and time. :slight_smile:

I tried something like this but i need to add at least 1 second to make it work instantly. How can I do that? :slight_smile:
/system scheduler
add name=“script1_schedule” on-event=script1 start-date=[/system clock get date] start-time=[/system clock get time] interval=1d comment=“”

As long as you don’t run it shortly before midnight, this should work:

start-time=([/system clock get time] + 00:00:02)

It works. Thank you :slight_smile: