script-server icon indicating copy to clipboard operation
script-server copied to clipboard

Scheduler: add a possibility to cleanup executions after finishing

Open bugy opened this issue 3 years ago • 4 comments

Now, all the scheduled executions stay open, until user sees them. If a script runs quite often, it causes a lot of tabs, which a user should check, which is not very UX friendly Also, this consumes server resources (mostly memory) So there should be an option to mark the execution as viewed automatically

I would make it default behavior, because a user can always see execution log via history. Except the cases, when there is an output file

bugy avatar Aug 25 '22 08:08 bugy

Done. Now scheduled executions are cleaned up (i.e. removed from active executions) automatically by default. This behaviour can be disabled via scheduling.auto_cleanup = false setting in a script configuration

CC @barrelltitor this should be available on dev version

bugy avatar Aug 26 '22 20:08 bugy

https://github.com/bugy/script-server/wiki/Script-config#--auto_cleanup

bugy avatar Aug 26 '22 20:08 bugy

It looks like I missed out on this amazing update. I'm away for the moment, but I will test this as soon as I can!

barrelltitor avatar Sep 09 '22 03:09 barrelltitor

It is working great so far! Thank you!

barrelltitor avatar Sep 11 '22 06:09 barrelltitor