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] no-overlap with other jobs #81

Open
ashleysommer opened this issue Nov 22, 2019 · 1 comment
Open

[Feature] no-overlap with other jobs #81

ashleysommer opened this issue Nov 22, 2019 · 1 comment

Comments

@ashleysommer
Copy link
Contributor

ashleysommer commented Nov 22, 2019

This is kind of related to #19, but the opposite.

Take for example I have two scheduled jobs. One running @hourly and one running @daily.
The @hourly job takes 1 minute to complete, every hour. The @daily one takes 45mins to complete, once per day.

I'd like a way to tell the @hourly job to not run if the @daily job is currently running. With either an option to just skip this hour, or alternatively schedule it to start running as soon as the @daily job is done.

This seems like an ambitious feature request.

@ashleysommer
Copy link
Contributor Author

I know this can be done on the application level. Where I can program the app to use a lock file or something such that the hourly job knows that the daily job is running.
But I think this would be a useful built-in feature in ofelia.

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