Skip to content
This repository has been archived by the owner on Mar 29, 2022. It is now read-only.

Restrict all jobs to run only during the month of October. #706

Merged
merged 4 commits into from
Oct 23, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions config/sidekiq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,32 @@

:schedule:
:transition_all_users:
cron: '0 */2 * * * America/New_York'
cron: '0 */2 * 9-11 * America/New_York'
class: TransitionAllUsersJob
queue: critical
description: 'This job transitions users every two hours'
:update_all_issues:
cron: '0 3 * * * America/New_York'
cron: '0 3 * 9-11 * America/New_York'
class: UpdateAllIssuesJob
queue: critical
description: 'This job updates all issues every day at 3AM'
:update_all_issues_quality:
cron: '0 5 * * * America/New_York'
cron: '0 5 * 9-11 * America/New_York'
class: UpdateAllIssuesQualityJob
queue: default
description: 'This job updates issues for quality standards every day at 5AM'
:ban_all_repos:
every: ['1h']
cron: '0 */1 * 9-11 * America/New_York'
class: BanAllReposJob
queue: default
description: 'Ban repos every hour'
:fetch_spam_repositories:
cron: '*/15 * * * * America/New_York'
cron: '*/15 * * 9-11 * America/New_York'
class: FetchSpamRepositoriesJob
queue: default
description: 'Updates spam repos every 15 minutes'
:homepage_project_import:
cron: '0 1 */3 * * America/New_York'
cron: '0 1 */3 9-11 * America/New_York'
class: ProjectImportJob
queue: default
description: 'Updates the projects displayed on the homepage every day at 1AM'
description: 'Updates the projects displayed on the homepage every three days at 1AM'