'CronItem' object has no attribute 'day'

Bug #1256301 reported by Marcq Nicolas
6
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'

Revision history for this message
Martin Owens (doctormo) wrote :

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.

Changed in python-crontab:
status: New → Fix Committed
assignee: nobody → Martin Owens (doctormo)
importance: Undecided → High
milestone: none → 1.6.0
Martin Owens (doctormo)
Changed in python-crontab:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.