Please add option to disable special keys

Bug #1390710 reported by Pugnator
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-crontab
Invalid
Medium
Unassigned

Bug Description

In some cases the usage of special keys like @hourly is a bad idea, for example in my embedded Linux environment busybox version of crond doesn't understand it, so I can't scedule some events

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

We have this support available for SunOS, AIX & HP witht he SystemV flag. If we knew how to detect busybox, we could enabled this flag for it.

I don't have a busybox machine here at the moment, but if you can find a pythonic way to know it's busybox, I'll add the right flag in for you.

thanks for the bug report.

Changed in python-crontab:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Pugnator (ookami-f) wrote :

If run "crond -v" (wrong option but gives output) the output will contain "BusyBox" word.

Revision history for this message
Pugnator (ookami-f) wrote :

I made a patch for busybox crond, I hope it will be accepted. It adds special keys to crond

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

Also sounds good. :-)

Your crond command could cause issues on other platforms, most of them won't have crond installed. I was hoping there'd be a pythonic way of checking for BusyBox, like we do with HP/SunOS and Windows. Maybe something in the sys module says it's busybox.

Martin Owens (doctormo)
Changed in python-crontab:
status: Confirmed → Incomplete
Martin Owens (doctormo)
Changed in python-crontab:
status: Incomplete → Invalid
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.