Skip to content

Cron-like periodic running interface #45

Description

@mightybyte

Would there be any interest in adding some cron-like features to angel? The reason I'm asking is because I have a system where some things are programs that need to stay up all the time (that I would use angel to manage) and some things are programs that need to run periodically in a cron-like fashion. Since I already have angel worked into my deployment it would be convenient to not have to worry about setting up other stuff. You can kind of get that effect just by specifying a long delay. But sometimes you really want the program to run at a specific time and a fixed delay would drift. Another way to do it would be to reformulate my cron-like programs as continuously running programs that just delay for awhile. The problem with this is that there's some extra overhead needed to store the last successful run time so you don't wait too long in the case the program is somehow not running at its check time.

If you feel strongly that this is outside the scope of angel, I won't argue with that. I just thought I'd float the idea and get other thoughts.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions