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

jobs between times #6

Open
CharlesRay opened this Issue Jul 16, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@CharlesRay
Copy link

CharlesRay commented Jul 16, 2018

I didn't see a way of doing this but having jobs start between certain times would be nice. For example, I have sensors where I collect data every minute or so during the day time and every 5 minutes or more during the night. Therefore if a time is greater than 07:30 then very 1 minute, if time is greater than 20:00 then every 5 minutes. Thanks, like your OT.

@mycoboco

This comment has been minimized.

Copy link
Owner

mycoboco commented Aug 24, 2018

My apologies for the late reply.

One workaround I can think of for your case is to run the same job with two different schedules, and to make only one of them run under a certain condition, which looks clumsy though.

Your proposal sounds very nice, and I will try to find an elegant way to handle such cases.

Thanks.

@mycoboco mycoboco self-assigned this Aug 24, 2018

@CharlesRay

This comment has been minimized.

Copy link
Author

CharlesRay commented Aug 25, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.