-
Notifications
You must be signed in to change notification settings - Fork 5
/
cron
42 lines (33 loc) · 2.06 KB
/
cron
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Update current weekly PF from fleaflicker (every minute)
# Enable the day the season starts
*/2 * * * * root python3 /var/www/OldTimeHockey/scripts/UpdateCurrentPF.py
# Run weekly scripts to update data stores
# Enable the day the season starts
0 8 * * 1 root /var/www/OldTimeHockey/scripts/Weekly.sh
##########################################################################
# #
# These should be defunct and covered by Weekly.sh now. Remove them next #
# fall if we don't run into any issues by then. #
# #
##########################################################################
# Update the Woppa Cup standings (weekly)
# Enable after week 5 (when Woppa Cup starts)
# Disable when WC ends
# 55 7 * * 1 root python3 /var/www/OldTimeHockey/scripts/woppacup.py true
# Update the sql tables from fleaflicker (weekly)
# Enable before the end of the first week of the season
# 00 8 * * 1 root python3 /var/www/OldTimeHockey/scripts/UpdateTables.py
# 00 8 * * 1 root python3 /var/www/OldTimeHockey/scripts/PullDailyScores.py
# Update the playoff odds json from fleaflicker (weekly)
# Enable at some reasonable time into the season... no harm in doing it week 1,
# but not really meaningful until midseason
# 02 8 * * 1 root python3 /var/www/OldTimeHockey/scripts/PlayoffOdds/PlayoffOdds_OTH.py
# Generate text for reddit posts and post to reddit (weekly)
# Enable before the end of the first week of the season
# 13 8 * * 1 root python3 /var/www/OldTimeHockey/scripts/RedditBot/WeeklyStatsPost.py
# 13 8 * * 1 root python3 /var/www/OldTimeHockey/scripts/RedditBot/PFLeadersPost.py
# 14 8 * * 1 root python3 /var/www/OldTimeHockey/scripts/RedditBot/RedditPostBot.py
# Increment week variable (weekly)
# 15 8 * * 1 root python3 /var/www/OldTimeHockey/scripts/IncrementWeek.py
# Copy Database (weekly)
# 20 8 * * 1 jeremy python3 /var/www/OldTimeHockey/scripts/backupdata.py