Community discussions

MikroTik App
 
User avatar
Moustafa
just joined
Topic Author
Posts: 4
Joined: Mon Jan 22, 2024 6:20 pm

Feature request: adding "remove after next run" feature in schedulers

Wed Dec 04, 2024 4:13 am

This is a great feature and will remove rubbish schedulers. I know This can be avoided by writing a command line in last, but this will be better.
You do not have the required permissions to view the files attached to this post.
 
jlgonzalez
just joined
Posts: 12
Joined: Wed Dec 11, 2019 9:38 am

Re: Feature request: adding "remove after next run" feature in schedulers

Fri Jan 17, 2025 3:19 pm

Yeah that would be very handy to simplify logic. +1
 
User avatar
Amm0
Forum Guru
Forum Guru
Posts: 4405
Joined: Sun May 01, 2016 7:12 pm
Location: California
Contact:

Re: Feature request: adding "remove after next run" feature in schedulers

Fri Jan 17, 2025 9:05 pm

Good idea. It let you "queue" some action simply...

Now you can always have the last action of schedule script to remove itself. But this is a bit trickier...as there is NO "this" variable to know what script you're in (/system/scheduler/remove [find name="$name"] will NOT work)...so you need to store the scheduled script name inside (i.e. /system/scheduler/remove [find name="XXXX"]).