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

Cron jobs don't persist #87

Open
govindrai opened this issue May 7, 2019 · 1 comment
Open

Cron jobs don't persist #87

govindrai opened this issue May 7, 2019 · 1 comment
Assignees

Comments

@govindrai
Copy link
Owner

@vildevev During my refactor, I hit the scheduler code. Upon re-reviewing Node Schedule's, the cron-like NPM package we have been using, documentation, here's what I discovered:

Note that Node Schedule is designed for in-process scheduling, i.e. scheduled jobs will only fire as long as your script is running, and the schedule will disappear when execution completes. If you need to schedule jobs that will persist even when your script isn't running, consider using actual cron.

This means that we will actually need to use actual cron.

@govindrai
Copy link
Owner Author

Conditions of Satisfaction:

  • We can different types of jobs (i.e, updating brackets)
  • Jobs are persisted in Database
  • Cron service is easily configurable to check database every X interval

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