Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jerrac opened this issue Apr 17, 2023 · 0 comments
Open

Comments

@jerrac
Copy link

jerrac commented Apr 17, 2023

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant