Closed Tjorriemorrie closed 8 years ago
I wish to use: '0 0 * * 1-5'
'0 0 * * 1-5'
but it gives the error:
File "/usr/local/lib/python2.7/dist-packages/croniter/croniter.py", line 69, in __init__ raise ValueError(self.bad_length) ValueError: Exactly 5 or 6 columns has to be specified for iteratorexpression.
>>> '0 0 * * 1-5'.split() ['0', '0', '*', '*', '1-5']
I don't understand what's wrong here.
I had another cron with 4 parameters.
I wish to use:
'0 0 * * 1-5'
but it gives the error:
I don't understand what's wrong here.