Sepia » History » Version 19
Cron Tab, 05/14/2015 01:00 PM
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 | 10 | Cron Tab | #Publish this crontab to the Tracker page http://tracker.ceph.com/projects/ceph-releases/wiki/Crontab |
27 | 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) |
28 | 1 | Cron Tab | |
29 | 19 | Cron Tab | # Ensure teuthology is up-to-date |
30 | 19 | Cron Tab | 00 17 * * * cd /home/teuthology/src/teuthology_master && git pull |
31 | 19 | Cron Tab | |
32 | 10 | Cron Tab | #Powercycle tests - lets try it manually and get a green before we add it to the nightlies |
33 | 10 | Cron Tab | #00 20 * * 2,4 teuthology-suite -v -c giant -k testing -m plana,burnupi,mira -s powercycle |
34 | 1 | Cron Tab | |
35 | 10 | Cron Tab | #********** |
36 | 10 | Cron Tab | #fs is having issues with low drive space on typica and is running in sepia for now |
37 | 10 | Cron Tab | 04 23 * * 1,3,5 teuthology-suite -v -c master -m plana,burnupi,mira -k testing -s fs |
38 | 10 | Cron Tab | 04 23 * * 7 teuthology-suite -v -c giant -m plana,burnupi,mira -k testing -s fs |
39 | 10 | Cron Tab | #********* |
40 | 1 | Cron Tab | |
41 | 1 | Cron Tab | ########################## |
42 | 1 | Cron Tab | ### rados suite divided into 7 parts 1 part every day of the week |
43 | 18 | Cron Tab | 00 21 * * 1 teuthology-suite -v -c next -m plana,burnupi,mira -k distro -s rados --subset 0/7 |
44 | 18 | Cron Tab | 00 21 * * 2 teuthology-suite -v -c next -m plana,burnupi,mira -k distro -s rados --subset 1/7 |
45 | 18 | Cron Tab | 00 21 * * 3 teuthology-suite -v -c next -m plana,burnupi,mira -k distro -s rados --subset 2/7 |
46 | 18 | Cron Tab | 00 21 * * 4 teuthology-suite -v -c next -m plana,burnupi,mira -k distro -s rados --subset 3/7 |
47 | 18 | Cron Tab | 00 21 * * 5 teuthology-suite -v -c next -m plana,burnupi,mira -k distro -s rados --subset 4/7 |
48 | 18 | Cron Tab | 00 21 * * 6 teuthology-suite -v -c next -m plana,burnupi,mira -k distro -s rados --subset 5/7 |
49 | 18 | Cron Tab | 00 21 * * 7 teuthology-suite -v -c next -m plana,burnupi,mira -k distro -s rados --subset 6/7 |
50 | 1 | Cron Tab | ########################## |
51 | 1 | Cron Tab | |
52 | 10 | Cron Tab | 00 23 * * 2,4,6 teuthology-suite -v -c next -m plana,burnupi,mira -k distro -s rbd |
53 | 10 | Cron Tab | 02 23 * * 1,3,5 teuthology-suite -v -c next -m plana,burnupi,mira -k distro -s rgw |
54 | 10 | Cron Tab | 04 23 * * 2,4,6 teuthology-suite -v -c next -m plana,burnupi,mira -k testing -s fs |
55 | 10 | Cron Tab | 06 23 * * 1,3,5 teuthology-suite -v -c next -m plana,burnupi,mira -k testing -s krbd |
56 | 10 | Cron Tab | 08 23 * * 1,3,5 teuthology-suite -v -c next -m plana,burnupi,mira -k testing -s kcephfs |
57 | 10 | Cron Tab | 10 23 * * 1,3,5 teuthology-suite -v -c next -m plana,burnupi,mira -k testing -s knfs |
58 | 13 | Cron Tab | 12 23 * * 7 teuthology-suite -v -c next -m plana,burnupi,mira -k testing -s hadoop |
59 | 13 | Cron Tab | 14 23 * * 7 teuthology-suite -v -c next -m plana,burnupi,mira -k testing -s samba |
60 | 13 | Cron Tab | 16 23 * * 7 teuthology-suite -v -c next -m plana,burnupi,mira -k testing -s rest |
61 | 13 | Cron Tab | 18 23 * * 7 teuthology-suite -v -c next -m plana,burnupi,mira -k testing -s multimds |
62 | 10 | Cron Tab | 20 23 * * 2,5,7 teuthology-suite -v -c next -m plana,burnupi,mira -k distro -s upgrade/client-upgrade |
63 | 9 | Cron Tab | |
64 | 17 | Cron Tab | #moved from typica as they time-out per Sam's reuest |
65 | 17 | Cron Tab | 10 18 * * 0,4 teuthology-suite -v -c giant -k distro -m typica -s upgrade/dumpling-firefly-x --filter ubuntu_ |
66 | 17 | Cron Tab | 13 18 * * 0,4 teuthology-suite -v -c giant -k distro -m typica -s upgrade/firefly-x--filter ubuntu_ |
67 | 17 | Cron Tab | |
68 | 10 | Cron Tab | ## removed for now YuriW - 10 1 * * 1,3,5 teuthology-suite -v -c firefly -m vps -k distro -s ceph-deploy ~/vps.yaml |
69 | 15 | Cron Tab | ## berametal part of ceph-deploy/hammer/next scheduled in typica lab |
70 | 1 | Cron Tab | 10 1 * * 7 teuthology-suite -v -c hammer -m vps -k distro -s ceph-deploy ~/vps.yaml |
71 | 15 | Cron Tab | 10 2 * * 7 teuthology-suite -v -c next -m vps -k distro -s ceph-deploy ~/vps.yaml |
72 | 9 | Cron Tab | |
73 | 10 | Cron Tab | ## Upgrade tests for next - running on bare metal |
74 | 11 | Cron Tab | 10 17 * * 2,4,7 teuthology-suite -v -c next -k distro -m plana,burnupi,mira -s upgrade/dumpling-firefly-x --filter ubuntu_ |
75 | 11 | Cron Tab | 13 17 * * 2,4,7 teuthology-suite -v -c next -k distro -m plana,burnupi,mira -s upgrade/firefly-x --filter ubuntu_ |
76 | 11 | Cron Tab | 05 17 * * 2,4,7 teuthology-suite -v -c next -k distro -m plana,burnupi,mira -s upgrade/giant-x --filter ubuntu_ |
77 | 10 | Cron Tab | |
78 | 10 | Cron Tab | #********** all below on VPS ***************** |
79 | 18 | Cron Tab | 00 17 * * 2,5 teuthology-suite -v -c firefly -k distro -m vps -s upgrade/firefly --timeout 56000 ~/vps.yaml |
80 | 13 | Cron Tab | 15 17 * * 1,3 teuthology-suite -v -c giant -k distro -m vps -s upgrade/giant --timeout 54000 ~/vps.yaml |
81 | 10 | Cron Tab | |
82 | 10 | Cron Tab | ## upgrade dumpling to firefly tests |
83 | 11 | Cron Tab | 13 19 * * 7 teuthology-suite -v -c firefly -k distro -m vps -s upgrade/dumpling-x ~/vps.yaml |
84 | 10 | Cron Tab | |
85 | 10 | Cron Tab | # Upgrade tests for giant - running on vps to cover multiple distros |
86 | 11 | Cron Tab | 15 18 * * 3,6 teuthology-suite -v -c giant -k distro -m vps -s upgrade/dumpling-firefly-x ~/vps.yaml |
87 | 11 | Cron Tab | 18 18 * * 3,6 teuthology-suite -v -c giant -k distro -m vps -s upgrade/firefly-x ~/vps.yaml |
88 | 10 | Cron Tab | |
89 | 10 | Cron Tab | |
90 | 10 | Cron Tab | # Upgrade tests for hammer - running on vps to cover multiple distros |
91 | 10 | Cron Tab | #removed the line below b/c the suite 'upgrade/dumpling-firefly-x' on vps runs out of memory on hammer, YuriW 3/29/15 |
92 | 10 | Cron Tab | #15 17 * * 1,3 teuthology-suite -v -c hammer -k distro -m vps -s upgrade/dumpling-firefly-x --suite-branch hammer ~/vps.yaml |
93 | 16 | Cron Tab | 18 17 * * 1,5 teuthology-suite -v -c hammer -k distro -m vps -s upgrade/firefly-x ~/vps.yaml |
94 | 16 | Cron Tab | 05 17 * * 1,5 teuthology-suite -v -c hammer -k distro -m vps -s upgrade/giant-x ~/vps.yaml |
95 | 16 | Cron Tab | 05 16 * * 1,5 teuthology-suite -v -c hammer -k distro -m vps -s upgrade/hammer ~/vps.yaml |
96 | 10 | Cron Tab | |
97 | 1 | Cron Tab | # Upgrade tests for next - running on vps to cover multiple distros |
98 | 10 | Cron Tab | #removed the line below b/c the suite 'upgrade/dumpling-firefly-x' on vps runs out of memory on next, YuriW 3/29/15 |
99 | 10 | Cron Tab | #15 17 * * 0,2,4,6 teuthology-suite -v -c next -k distro -m vps -s upgrade/dumpling-firefly-x --suite-branch hammer ~/vps.yaml |
100 | 16 | Cron Tab | 18 17 * * 0,2,4 teuthology-suite -v -c next -k distro -m vps -s upgrade/firefly-x ~/vps.yaml |
101 | 16 | Cron Tab | 05 17 * * 0,2,4 teuthology-suite -v -c next -k distro -m vps -s upgrade/giant-x ~/vps.yaml</pre> |