Skip to content

[Feature Request] Let external scripts ask swarm-cronjob to run a job #246

Open
@jerrac

Description

@jerrac

So, I have need of a service that will run jobs when asked to. Basically webhooks.

Specifically I'd like to run my database dumps when the backup utility is ready to backup the data. Right now I'm using swarm-cronjob to schedule the dumps, and then scheduling the backup utility job a few minutes after the cronjob. I have my databases in docker, and I'm not exposing them outside their stack, so the backup utility can't just run a script to connect and do the dump itself.

The task is so similar to what swarm-cronjob does, that I thought it might be an interesting feature to add. But I also see it as different enough it might not fit. Maybe it would work as a companion project?

Anyway, if my idea is interesting, awesome, otherwise we can just close this.

Thanks for creating swarm-cronjob. It is extremely useful. Made my Portainer/Traefik/Swarm implementation work so much smoother that it might otherwise have gone!

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