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

Cron scheduler #515

Closed
plockare opened this issue Jun 2, 2020 · 3 comments
Closed

Cron scheduler #515

plockare opened this issue Jun 2, 2020 · 3 comments
Labels
kind/feature New feature or request

Comments

@plockare
Copy link

plockare commented Jun 2, 2020


FEATURE REQUEST

Cron like feature

Would be nice to have possibility to start image at specific cronlike time.

Use case:

Have service that is recounting statistics once a day. I don't want the service to run all day long with internal scheduler or with exposed API EP to trigger the event. We could save resources with on demand scheduling.

@nohaapav nohaapav added the kind/feature New feature or request label Jun 2, 2020
@mrq1911
Copy link
Member

mrq1911 commented Jun 6, 2020

you can already do that with cron service with mapped docker sock to spawn containers/services

alternatively this can be achieved with restart policy delay on service

@abellion
Copy link

abellion commented Jun 9, 2020

Swarm jobs are coming : moby/moby#39447

According to moby/moby#40307, this will be released in version 20.03.0.

@nohaapav
Copy link
Member

nohaapav commented Jun 9, 2020

@abellion Thanks for info man.

@mrq1911 mrq1911 closed this as completed Feb 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants