-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.crontab
44 lines (34 loc) · 1.21 KB
/
.crontab
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
42
43
44
###--- BEGIN DREAMHOST BLOCK
###--- Changes made to this part of the file WILL be destroyed!
# whereami?
MAILTO=""
@reboot sh -c whoami
###--- You can make changes below the next line and they will be preserved!
###--- END DREAMHOST BLOCK
## aggro cron
PHP_PATH='/usr/local/php82/bin/php'
INDEX_PATH='/home/bmxfeed/aggro/current/public/index.php'
## aggro news
## Featured/stream build every 6 minutes
*/6 * * * * $PHP_PATH $INDEX_PATH aggro news
## aggro news/clean
## Clean news featured table every 7 days
0 0 * * 0 $PHP_PATH $INDEX_PATH aggro news-clean
## aggro news/cc
## Clear feed cache files every month (on day 15)
0 0 15 * * $PHP_PATH $INDEX_PATH aggro news-cache
## aggro sweep
## Archive old videos every day (at 2am)
0 2 * * * $PHP_PATH $INDEX_PATH aggro sweep
## aggro duration
## Older video durations every day (at 1am)
0 1 * * * $PHP_PATH $INDEX_PATH aggro duration
## aggro vimeo
## Look for new Vimeo videos every 7 minutes
*/7 * * * * $PHP_PATH $INDEX_PATH aggro vimeo
## aggro youtube
## Look for new YouTube videos every 5 minutes
*/5 * * * * $PHP_PATH $INDEX_PATH aggro youtube
## aggro watch
## Show next video in the watch queue every week (Monday at 00:00)
0 0 * * 1 $PHP_PATH $INDEX_PATH aggro watch