Skip to content

Scheduler: add a possibility to cleanup executions after finishing #570

Closed

Description

@bugy

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

Activity

  1. changed the title [-]Scheduler: add a possibility to cleanup executions additionally[/-] [+]Scheduler: add a possibility to cleanup executions after finishing[/+] on Aug 26, 2022
  2. added a commit that references this issue on Aug 26, 2022
  3. bugy commented on Aug 26, 2022

    @bugy
    OwnerAuthor

    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

  4. added this to the 1.18.0 milestone on Aug 26, 2022
  5. barrelltitor commented on Sep 9, 2022

    @barrelltitor

    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!

  6. barrelltitor commented on Sep 11, 2022

    @barrelltitor

    It is working great so far! Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions