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

Make weekly endpoint not dependent on cron? #22

Open
joereynolds opened this issue May 15, 2024 · 0 comments
Open

Make weekly endpoint not dependent on cron? #22

joereynolds opened this issue May 15, 2024 · 0 comments

Comments

@joereynolds
Copy link
Owner

Make weekly endpoint actually work with a db to track the last time it was ran and what raga it chose.

Currently it's on a cron but I think I'd prefer if it just "figured out" if it needed to ran again?

Pros:

  • Less infrastructure

Cons:

  • If nobody visits the site for a year for example. There will be no weeks populated for that length. A cron is reliable
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

1 participant