FactorDay

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
import os
def system(x):
print x
os.system(x)
for day in ['2014-12-10', '2014-12-11', '2014-12-12', '2014-12-13', '2014-12-14', '2014-12-15',
'2014-12-21', '2014-12-22', '2014-12-23', '2014-12-24', '2014-12-25', '2014-12-26',
'2014-12-27', '2014-12-28']
system(
'client.py --cmd "umworld doit run FactorDay --num-process 4 --day {day}"'
' --task-name "doit factor day {day}"'.format(day=day)
)