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

we should have more control over cron timing #3842

Closed
Tracked by #3841
pbiggar opened this issue May 19, 2022 · 2 comments
Closed
Tracked by #3841

we should have more control over cron timing #3842

pbiggar opened this issue May 19, 2022 · 2 comments

Comments

@pbiggar
Copy link
Member

pbiggar commented May 19, 2022

Developers want more control over the timing of crons:

  • what time of interval crons go out (eg Fridays at 2pm)
  • frequency per interval and better intervals (eg once every 3 days)
@pbiggar pbiggar mentioned this issue May 19, 2022
3 tasks
@pbiggar pbiggar changed the title crons should have a specific time that they go out crons should be able to have a specific time that they go out May 19, 2022
@pbiggar pbiggar changed the title crons should be able to have a specific time that they go out we should have more control over cron timing May 19, 2022
@pbiggar
Copy link
Member Author

pbiggar commented May 19, 2022

From #2806

For cron components, you can specify certain intervals, but you can't say when you want it to start, it appears to start when you first create the component.

For example, let's say I want to calculate some stats at 10pm every night. Currently I'd have to wait until 10pm to create this cron.

Perhaps even more than not being able to set the time at which a cron runs, it would be nice to have visibility into when it's running (e.g. "Daily at 5pm", "Weekly on Sundays at 7pm", ...) Currently you can infer this by looking at previous times it ran + the run frequency, but that seems unnecessarily opaque.

A more usable UI would be to add to the title of the cron component more info like:

CRON Daily 10pm update_my_stats

CRON Weekly Sundays 5pm check_rss_feeds

# And maybe include next time it'll trigger
CRON Weekly Sundays 5pm check_rss_feeds Next: 2020/09/27 @ 5pm

@StachuDotNet
Copy link
Member

folded into #5261

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

2 participants