ontime icon indicating copy to clipboard operation
ontime copied to clipboard

jobs between times

Open ray-5050 opened this issue 7 years ago • 2 comments

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.

ray-5050 avatar Jul 16 '18 13:07 ray-5050

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 avatar Aug 24 '18 07:08 mycoboco

Thanks for your reply. That's essentially what I ended up doing. It works well with just some conditions in the job but like you said not very elegant.

On Fri, Aug 24, 2018 at 3:52 AM Jun Woong [email protected] wrote:

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.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mycoboco/ontime/issues/6#issuecomment-415681894, or mute the thread https://github.com/notifications/unsubscribe-auth/AFl-TrAzh536zZgRvom1lrS160-VF2o0ks5uT7C8gaJpZM4VRLGt .

ray-5050 avatar Aug 25 '18 00:08 ray-5050