Sepia » History » Version 4
Cron Tab, 05/03/2015 10:00 AM
1 | 1 | Cron Tab | h3. Crontab<pre>MAILTO="yweinste@redhat.com" |
---|---|---|---|
2 | 1 | Cron Tab | # Edit this file to introduce tasks to be run by cron. |
3 | 1 | Cron Tab | # |
4 | 1 | Cron Tab | # Each task to run has to be defined through a single line |
5 | 1 | Cron Tab | # indicating with different fields when the task will be run |
6 | 1 | Cron Tab | # and what command to run for the task |
7 | 1 | Cron Tab | # |
8 | 1 | Cron Tab | # To define the time you can provide concrete values for |
9 | 1 | Cron Tab | # minute (m), hour (h), day of month (dom), month (mon), |
10 | 1 | Cron Tab | # and day of week (dow) or use '*' in these fields (for 'any').# |
11 | 1 | Cron Tab | # Notice that tasks will be started based on the cron's system |
12 | 1 | Cron Tab | # daemon's notion of time and timezones. |
13 | 1 | Cron Tab | # |
14 | 1 | Cron Tab | # Output of the crontab jobs (including errors) is sent through |
15 | 1 | Cron Tab | # email to the user the crontab file belongs to (unless redirected). |
16 | 1 | Cron Tab | # |
17 | 1 | Cron Tab | # For example, you can run a backup of all your user accounts |
18 | 1 | Cron Tab | # at 5 a.m every week with: |
19 | 1 | Cron Tab | # 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/ |
20 | 1 | Cron Tab | # |
21 | 1 | Cron Tab | # For more information see the manual pages of crontab(5) and cron(8) |
22 | 1 | Cron Tab | # |
23 | 1 | Cron Tab | # m h dom mon dow command |
24 | 1 | Cron Tab | PATH=/home/teuthology/src/teuthology_master/virtualenv/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin |
25 | 1 | Cron Tab | |
26 | 2 | Cron Tab | 00 6 * * * crontab=$(crontab -l | perl -p -e 's/</</g; s/>/>/g; s/&/&/g') ; header=$(echo h3. Crontab ; echo) ; curl --verbose -X PUT --header 'Content-type: application/xml' --data-binary '<?xml version="1.0"?><wiki_page><text>'"$header"'<pre>'"$crontab"'</pre></text></wiki_page>' http://tracker.ceph.com/projects/ceph-releases/wiki/sepia.xml?key=$(cat /etc/redmine-key) |
27 | 1 | Cron Tab | |
28 | 4 | Cron Tab | #00 6 * * * teuthology-suite -v -c hammer -s teuthology --suite-branch master -p 50 --machine-type typica --filter-out 'vps,rhel' |
29 | 1 | Cron Tab | |
30 | 4 | Cron Tab | 00 5 * * * teuthology-suite -v -c master -m typica -s smoke -k distro |
31 | 4 | Cron Tab | 10 5 */3 * * teuthology-suite -v -c master -m typica -k distro -s big |
32 | 1 | Cron Tab | |
33 | 1 | Cron Tab | ########################## |
34 | 1 | Cron Tab | ### rados suite divided into 7 parts 1 part every day of the week |
35 | 4 | Cron Tab | 00 21 * * 1 teuthology-suite -v -c master -m typica -k distro -s rados --subset 1/7 |
36 | 4 | Cron Tab | 00 21 * * 2 teuthology-suite -v -c master -m typica -k distro -s rados --subset 2/7 |
37 | 4 | Cron Tab | 00 21 * * 3 teuthology-suite -v -c master -m typica -k distro -s rados --subset 3/7 |
38 | 4 | Cron Tab | 00 21 * * 4 teuthology-suite -v -c master -m typica -k distro -s rados --subset 4/7 |
39 | 4 | Cron Tab | 00 21 * * 5 teuthology-suite -v -c master -m typica -k distro -s rados --subset 5/7 |
40 | 4 | Cron Tab | 00 21 * * 6 teuthology-suite -v -c master -m typica -k distro -s rados --subset 6/7 |
41 | 4 | Cron Tab | 00 21 * * 7 teuthology-suite -v -c master -m typica -k distro -s rados --subset 7/7 |
42 | 3 | Cron Tab | ########################## |
43 | 1 | Cron Tab | |
44 | 4 | Cron Tab | 00 23 * * 1,3,5 teuthology-suite -v -c master -m typica -k testing -s rbd |
45 | 4 | Cron Tab | 02 23 * * 2,4,6 teuthology-suite -v -c master -m typica -k testing -s rgw |
46 | 4 | Cron Tab | #fs is having issues with low drive space on typica and is running in sepia for now |
47 | 4 | Cron Tab | #04 23 * * 1,3,5 teuthology-suite -v -c master -m typica -k testing -s fs |
48 | 4 | Cron Tab | 06 23 * * 2,4,6 teuthology-suite -v -c master -m typica -k testing -s krbd |
49 | 4 | Cron Tab | 08 23 * * 1,3,5 teuthology-suite -v -c master -m typica -k testing -s kcephfs |
50 | 4 | Cron Tab | 10 23 * * 1,3,5 teuthology-suite -v -c master -m typica -k testing -s knfs |
51 | 4 | Cron Tab | 12 23 * * 2 teuthology-suite -v -c master -m typica -k testing -s hadoop |
52 | 4 | Cron Tab | 14 23 * * 2 teuthology-suite -v -c master -m typica -k testing -s samba |
53 | 4 | Cron Tab | 16 23 * * 2 teuthology-suite -v -c master -m typica -k testing -s rest |
54 | 4 | Cron Tab | 18 23 * * 6 teuthology-suite -v -c master -m typica -k testing -s multimds |
55 | 4 | Cron Tab | 20 23 * * 2,4,6 teuthology-suite -v -c master -m typica -k distro -s upgrade/client-upgrade |
56 | 3 | Cron Tab | |
57 | 4 | Cron Tab | #GIANT branch |
58 | 4 | Cron Tab | 00 21 * * 4 teuthology-suite -v -c giant -m typica -k distro -s rados |
59 | 3 | Cron Tab | |
60 | 4 | Cron Tab | 00 23 * * 5 teuthology-suite -v -c giant -m typica -k testing -s rbd |
61 | 4 | Cron Tab | 02 23 * * 7 teuthology-suite -v -c giant -m typica -k testing -s rgw |
62 | 4 | Cron Tab | 04 23 * * 5 teuthology-suite -v -c giant -m typica -k testing -s fs |
63 | 4 | Cron Tab | 06 23 * * 7 teuthology-suite -v -c giant -m typica -k testing -s krbd |
64 | 4 | Cron Tab | 08 23 * * 5 teuthology-suite -v -c giant -m typica -k testing -s kcephfs |
65 | 4 | Cron Tab | 10 23 * * 7 teuthology-suite -v -c giant -m typica -k testing -s knfs |
66 | 4 | Cron Tab | 12 23 * * 5 teuthology-suite -v -c giant -m typica -k testing -s hadoop |
67 | 4 | Cron Tab | 14 23 * * 5 teuthology-suite -v -c giant -m typica -k testing -s samba |
68 | 4 | Cron Tab | 16 23 * * 5 teuthology-suite -v -c giant -m typica -k testing -s rest |
69 | 4 | Cron Tab | 18 23 * * 7 teuthology-suite -v -c giant -m typica -k testing -s multimds |
70 | 4 | Cron Tab | 20 23 * * 5 teuthology-suite -v -c giant -m typica -k distro -s upgrade/multi-version |
71 | 4 | Cron Tab | 05 17 * * 7 teuthology-suite -v -c giant -k distro -m typica -s upgrade/giant-x --suite-branch hammer --filter ubuntu_ |
72 | 4 | Cron Tab | ## Upgrade tests for giant - running on bare metal |
73 | 4 | Cron Tab | 10 18 * * 0,4 teuthology-suite -v -c giant -k distro -m typica -s upgrade/dumpling-firefly-x --suite-branch giant --filter ubuntu_ |
74 | 4 | Cron Tab | 13 18 * * 0,4 teuthology-suite -v -c giant -k distro -m typica -s upgrade/firefly-x --suite-branch giant --filter ubuntu_</pre> |