Create a scheduler and edit with single line

Hello everyone,

I recently started working as an IT support for a company that works with Mikrotiks.

I’d like to update my Mikrotiks whenever I feel like it.

I just launch the “download” in Packages.

I copy these lines into the terminal

/system/scheduler/add name=reboot start-date=Jun/15/2024 start-time=03:00:00
/system/scheduler/add name=update-routerboard start-date=Jun/15/2024 start-time=03:30:00

Then I need to edit the “reboot” and “update-routerboard” parameters.

/system reboot

/system routerboard upgrade
:delay 20s;
/system reboot

We have about 500 Mikrotik, I’m wasting a lot of time and I don’t want to create a permanent update script.

Is there a way to create a script to create the scheduler and edit it directly?

I hope I’ve made myself clear.

Thanks :slight_smile: