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

"Fast" modes #7

Open
2 tasks
saiichihashimoto opened this issue Jan 13, 2024 · 0 comments
Open
2 tasks

"Fast" modes #7

saiichihashimoto opened this issue Jan 13, 2024 · 0 comments
Labels
help wanted Please help me! I'm lonely.

Comments

@saiichihashimoto
Copy link
Owner

CRONs are pretty slow for local development. Have a few options:

  • --reschedule 0 * * * * * * get Cron at index 0 and reschedules it for every minute.
  • --immediate * * * * * * Gets all the CRONs, determines the order they would have run, and then executes them in that order per minute. For example, if there was a job that would run every hour and another every 30min, this would instead run the 30min one in one minute, then both the next minute, etc. CRONs are usually made to be over long periods, this just lets us do it quicker in development.
@saiichihashimoto saiichihashimoto added the help wanted Please help me! I'm lonely. label Jan 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Please help me! I'm lonely.
Projects
None yet
Development

No branches or pull requests

1 participant