Page 1 of 1

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

Posted: Wed Dec 04, 2024 4:13 am
by Moustafa
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.

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

Posted: Fri Jan 17, 2025 3:19 pm
by jlgonzalez
Yeah that would be very handy to simplify logic. +1

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

Posted: Fri Jan 17, 2025 9:05 pm
by Amm0
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"]).