Skip to content

Commit

Permalink
Merge pull request hackclub#343 from hackclub/document-scheduled-jobs
Browse files Browse the repository at this point in the history
Update docs on Heroku Scheduler usage
  • Loading branch information
zachlatta authored Feb 3, 2018
2 parents 3daf55e + 8ee2c21 commit 74d8182
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,14 @@ docker-compose run api rails db:create db:setup

This application depends on a few jobs running periodically in the background. Set this up using cron or a similar scheduler on your deployment of the application -- we use Heroku's scheduler in production.

- `rails heroku_scheduler:queue_update_from_streak` every hour
- `rails heroku_scheduler:queue_update_hackbot_slack_username` every hour
- `rails heroku_scheduler:queue_update_hackbot_slack_username_job` hourly
- `rails heroku_scheduler:queue_record_slack_stats_job` daily
- `rails heroku_scheduler:queue_activate_clubs_job` daily
- `rails heroku_scheduler:queue_collect_projects_shipped_job` daily
- `rails heroku_scheduler:queue_schedule_leader_check_ins_job` daily
- `rails heroku_scheduler:queue_handle_spam_club_applications_job` every 10 minutes
- `rails heroku_scheduler:queue_update_from_streak_job` hourly
- `rails heroku_scheduler:queue_close_check_ins_job` daily

### Deployment on Heroku

Expand Down

0 comments on commit 74d8182

Please sign in to comment.