'CronItem' object has no attribute 'day'
Bug #1256301 reported by
Marcq Nicolas
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-crontab |
Fix Released
|
High
|
Martin Owens |
Bug Description
Hi, I tried out the exemple code i got this error on Ubuntu 13.10 with the module installed by pip.
Traceback (most recent call last):
File "./testcron.py", line 13, in <module>
job.day.on(4, 5, 6)
AttributeError: 'CronItem' object has no attribute 'day'
Related branches
Changed in python-crontab: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I've submitted a fix to be released in 1.6.0 in the coming weeks. For now change 'day' to 'dom' (day of month). Let me know if everything is working and thanks for the bug report.