jam-cloud/web/config/scheduler.yml

107 lines
3.1 KiB
YAML
Raw Normal View History

# add job scheduler classes here
AudioMixerRetry:
cron: 0 * * * *
class: "JamRuby::AudioMixerRetry"
description: "Retries mixes that set the should_retry flag or never started"
IcecastConfigRetry:
cron: 0 * * * *
class: "JamRuby::IcecastConfigRetry"
description: "Finds icecast servers that have had their config_changed, but no IcecastConfigWriter check recently"
IcecastSourceCheck:
every:
- "7s"
class: "JamRuby::IcecastSourceCheck"
description: "Finds icecast mounts that need their 'sourced' state to change, but haven't in some time"
JamTracksCleaner:
cron: "0,30 * * * *"
class: "JamRuby::JamTracksCleaner"
description: "Clean up JamTrack related stuff; every 30 minutes"
2014-02-03 21:19:14 +00:00
CleanupFacebookSignup:
cron: "30 2 * * *"
class: "JamRuby::CleanupFacebookSignup"
description: "Deletes facebook_signups that are old"
UnusedMusicNotationCleaner:
cron: "0 * * * *"
class: "JamRuby::UnusedMusicNotationCleaner"
2014-05-29 04:20:09 +00:00
description: "Remove unused music notations"
UserProgressEmailer:
# cron: "30 21 * * *"
class: "JamRuby::UserProgressEmailer"
description: "Sends periodic user progress emails"
2014-05-29 07:19:55 +00:00
DailySessionEmailer:
# cron: "0 6 * * *"
2014-05-29 07:19:55 +00:00
class: "JamRuby::DailySessionEmailer"
description: "Sends daily scheduled session emails"
2014-05-31 09:36:10 +00:00
Merge feature/calendaring branch: commit 8023d6481cbadd52e58b9a4342ac7636ce1807e3 VRFS-3276 : Hook calendar creation into user controller API. Add test to verify. commit 3a35002a46f870e2c490b88b3187e0b1569494fd VRFS-3276 : Calendar cleanup job * Add cleanup method to calendar manager * Create a daily job. * Add calendar cleanup to that job. * Add CRON entry * Daily job/ calendar cleanup test cases * Fix calendar manager spec for new required attribute commit 3ff5910f1f019ae8bcb5afe72a31f1d38bb7d7a3 VRFS-3276 : Add a delete-calendar directive when RSVP is canceled. VRFS-3276 : Include path to partial. This fails depending on the method used to start the web server. commit d2441cbf57e50895ac3b40534873c5d529cb3c4f VRFS-3276 : Test new calendar features. Use icalendar gem in test mode only to more deeply verify calendar in strict mode. commit 9ac272a0fb1e58d8cf9f02e7a0e04caada41f659 VRFS-3276 : Calendar manager updates to include manual calendars. Some refactoring to keep common stuff in one place. commit b5d0c758f0dcae41a5f24635e9da9ce6eda56670 VRFS-3276 : Schema, model updates and new calendar model. commit 20472b6b26c88c04edb9bc698e0c06c549e12eb5 VRFS-3276 : Change initial submit behavior of RSVP dialog to display calendar info. The user can then close the dialog after this prompt. commit 77c99103d0221f20ea342169821b90fa987ecf93 VRFS-3276 : Calendar feed markup and styling. Included as partial. commit e632f48600ae23b5f742773310b2a4ac16ae4ee8 VRFS-3276 : Routes and controller implementation of user calendar ICS feed, which uses calendar manager. commit 21fd80a188eae771a65333566b804ade795a1e8c VRFS-3276 : Initial tests for calendar manager commit 92a2524c65abf7b540f9d50049a1b760a5a9927f VRFS-3276 : Calendar manager * Streamline logic * Enable recurring sessions through rrule * Implement method to create ics feed for user * Extract a type-safe scheduled duration method on music_session for external and internal use. commit b71ad3a4cdd943eb84748abaa85fec263b9af468 VRFS-3276 : Include calendar manager commit f8eaafd03647613dafec9f9422282f8613d08e9a VRFS-3276 : Calendar Manager - initial checkin * Create ICS events given individual parameters * Create calendar from music session * Also will create ICS “delete” events
2015-07-06 20:34:27 +00:00
DailyJob:
cron: "0 4 * * *"
class: "JamRuby::DailyJob"
description: "Aggregate task to perform general daily things"
HourlyJob:
cron: "0 * * * *"
class: "JamRuby::HourlyJob"
description: "Aggregate task to perform general hourly things"
MinutelyJob:
cron: "* * * * *"
class: "JamRuby::MinutelyJob"
description: "Aggregrate task to perform general minutely things"
ScheduledMusicSessionCleaner:
cron: "0 3 * * *"
class: "JamRuby::ScheduledMusicSessionCleaner"
description: "Purges old, forgotten sessions that have not been started for >4 weeks"
2014-05-31 09:36:10 +00:00
NewMusicianEmailer:
# cron: "0 1 * * 1"
2014-05-31 09:36:10 +00:00
class: "JamRuby::NewMusicianEmailer"
description: "Sends weekly emails of new users with good latency"
NewMusicianMatchEmailer:
cron: "0 2 * * 6"
class: "JamRuby::NewMusicianMatchEmailer"
description: "Sends weekly emails of new users with good latency - (User latency data from neo4j)"
MusicSessionScheduler:
cron: "0 * * * *"
class: "JamRuby::MusicSessionScheduler"
description: "Schedules music sessions that are marked as recurring"
ActiveMusicSessionCleaner:
cron: "* * * * *"
class: "JamRuby::ActiveMusicSessionCleaner"
2014-07-21 21:42:30 +00:00
description: "Removes any active music sessions that are stale."
ScoreHistorySweeper:
2014-11-17 19:28:43 +00:00
# cron: 0 * * * *
2014-07-21 21:42:30 +00:00
class: "JamRuby::ScoreHistorySweeper"
2014-11-17 19:28:43 +00:00
description: "Creates 'ScoreHistory' tables from Scores (disabled for now)"
2014-11-06 17:26:13 +00:00
SessionReminder:
2015-07-17 14:36:47 +00:00
cron: "*/5 * * * *"
class: "JamRuby::MusicSessionReminder"
description: "Creates session reminder emails and notifications as needed."
2014-11-06 17:26:13 +00:00
RecordingsCleaner:
cron: 0 * * * *
class: "JamRuby::RecordingsCleaner"
2014-12-30 23:10:16 +00:00
description: "Cleans up recordings that no one wants after 7 days"
StatsMaker:
2021-01-01 15:02:49 +00:00
# cron: "* * * * *"
2014-12-30 23:10:16 +00:00
class: "JamRuby::StatsMaker"
description: "Generates interesting stats from the database"
2015-05-28 13:20:14 +00:00
TallyAffiliates:
cron: "0 0,4,8,12,16,20 * * *"
class: "JamRuby::TallyAffiliates"
description: "Tallies up affiliate totals"