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 expressions in Procfile #293

Open
2 tasks done
rutchkiwi opened this issue May 17, 2024 · 1 comment
Open
2 tasks done

CRON expressions in Procfile #293

rutchkiwi opened this issue May 17, 2024 · 1 comment
Labels

Comments

@rutchkiwi
Copy link

Required Terms

What service(s) is this request for?

heroku dynos, scheduler

Tell us about what you're trying to solve. What challenges are you facing?

We semi-frequently have issues with people forgetting to manually add/delete jobs in the heroku scheduler. On top of this, fiddling with these jobs manually though a webpage means we don't have any history of what things were scheduled nor when.

It would be way nicer if in the Procfile I could defined a schedule for jobs.
For example

refresh_purchase_suggestions:            psql $DATABASE_URL -c "REFRESH MATERIALIZED VIEW product_purchase_data"
  • manually fiddling in the scheduler

would become

30 1 * * *        psql $DATABASE_URL -c "REFRESH MATERIALIZED VIEW product_purchase_data"

That way, all the drawbacks mentioned in the top would be fixed, and schedule changes could be checked in pull requests, and viewed in the git log.

@elimchaysengSF
Copy link

Thanks for raising this feature request - I've documented the request and will get some preliminary reviews from our eng team which owns the service that powers Scheduler to see what's possible for new ways to schedule jobs. I'll also keep an eye here for any additional feedback and inputs to gauge prioritization justification!

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

No branches or pull requests

2 participants