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

Improve CRON execution. #1711

Open
sfmskywalker opened this issue Apr 24, 2018 · 0 comments
Open

Improve CRON execution. #1711

sfmskywalker opened this issue Apr 24, 2018 · 0 comments

Comments

@sfmskywalker
Copy link
Member

"get the next occurence, reinit your reference to this occurence and get again the next occurence, so that you can compute the time span between 2 occurences. Then you will have to wait from now to now + this time span.

Maybe we could have an option to use the cron expression as a time interval.

If unchecked : The timer will trigger on the next occurence defined by the cron expression and following the time the timer has been started. Note: the timer could trigger immediately.

If checked : use the cron expression as a time interval, so that when started the timer will trigger after this time interval. The time interval being the time between 2 occurences as defined by the cron expression.

Note: knowing that right now the granularity of bg tasks is 1 minute."

See #1378 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants