generated from golang-templates/seed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
crontab.example
41 lines (32 loc) · 1.34 KB
/
crontab.example
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
#--------------------------------------------------
# example unix/linux crontab file format:
#--------------------------------------------------
# min,hour,dayOfMonth,month,dayOfWeek command
#
# field allowed values
# ----- --------------
# minute 0-59
# hour 0-23
# day of month 1-31
# month 1-12 (or names, see below)
# day of week 0-7 (0 or 7 is Sun, or use names)
#
#--------------------------------------------------
# run the drupal cron process every hour of every day
0 * * * * /usr/bin/wget -O - -q -t 1 http://localhost/cron.php
# run this apache kludge every minute of every day
* * * * * /var/www/devdaily.com/bin/check-apache.sh
# generate links to new blog posts twice a day
5 10,22 * * * /var/www/devdaily.com/bin/mk-new-links.php
# run the backup scripts at 4:30am
30 4 * * * /var/www/devdaily.com/bin/create-all-backups.sh
# re-generate the blog "categories" list (four times a day)
5 0,4,10,16 * * * /var/www/devdaily.com/bin/create-cat-list.sh
# reset the contact form just after midnight
5 0 * * * /var/www/devdaily.com/bin/resetContactForm.sh
# rotate the ad banners every five minutes
0,20,40 * * * * /var/www/bin/ads/freshMint.sh
5,25,45 * * * * /var/www/bin/ads/greenTaffy.sh
10,30,50 * * * * /var/www/bin/ads/raspberry.sh
15,35,55 * * * * /var/www/bin/ads/robinsEgg.sh
@reboot test