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

Schedule Frontend to Turn On and Off #133

Open
cyramic opened this issue Nov 29, 2024 · 1 comment
Open

Schedule Frontend to Turn On and Off #133

cyramic opened this issue Nov 29, 2024 · 1 comment
Assignees

Comments

@cyramic
Copy link
Contributor

cyramic commented Nov 29, 2024

With the Frontend on Heroku, we have an easier way to turn it on and off. The following CLI commands will do it, but we need to operate on a schedule for EoE and London potentially to reduce costs.

# To start it:
$ heroku ps:scale worker=1 -a my-application
# To stop it:
$ heroku ps:scale worker=0 -a my-application

The task then is to run these commands at the needed times.

@cyramic cyramic self-assigned this Nov 29, 2024
@cyramic
Copy link
Contributor Author

cyramic commented Nov 29, 2024

Looks like a scheduler may be all we need to add to Heroku:
https://devcenter.heroku.com/articles/scheduler#defining-tasks

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