-
Notifications
You must be signed in to change notification settings - Fork 260
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
Does Shuttle support crontab? #372
Comments
Not officially, but it should be possible to add a custom cron service. Docs for creating a custom service should be coming out soon |
Will take this over as part of the Shuttle Batch 2.0 Create a new service implementation in services that allows a user to create a shuttle-crontab service. The service should define a struct that holds a fn() -> Future and a cron::Schedule. The service implementation should then take this struct and use it to run the fn on the defined schedule as long as the service remains running. @chesedo started this a long time ago when our code was quite different, but it may be useful to take a look at it: https://github.com/shuttle-hq/shuttle/tree/feat/cron-example/examples/custom/cron Requirements
|
Closed in favor of #909 |
No description provided.
The text was updated successfully, but these errors were encountered: