Project

General

Profile

Sepia » History » Version 9

Cron Tab, 05/04/2015 09:18 PM

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