Red Hat Bugzilla – Bug 84634
KCron programs Silent-option makes erroneous crontab lines
Last modified: 2007-04-18 12:51:24 EDT
Description of problem:
KCron (KDE cron GUI in RH8 System Tools -menu) makes erroneous lines in crontab
when Silent choice is selected, which then makes cron run these tasks multiple
Selecting Silent option in KCron's Edit Task GUI inserts - (dash) in front of
that tasks line in crontab file. This makes cron see that the first argument
(which is minutes in crontab) of that line is for example -30 instead of 30.
This means to cron that the task is to be run every minute after the exact hour,
which in this example means that cron runs the task at xx:00, xx:01, up to
xx:30 (which means 30 times), when the user means to run it only once at xx:30.
Naturally this can only be seen if the minutes argument is different from 0.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Make new task or modify old task in KCron GUI started from System Tools menu
2. Set option Silent in that dialog and save the changes
3. Look at the appropriate crontab file and line to see erroneous - (dash)
The appropriate line in crontab file is preceded by - (dash) which in turn makes
cron behave unexpectedly. Cron then runs the command as if the minute is entered
like 0-x where x is what should have been there. That makes the command run x
times (every minute between 0 and x) in one hour if x is bigger than 0.
Silent should only turns off logging of the command and the output from the
Option name Silent can be something else as my version is localized to Finnish
and thus has local word meaning silent.
please reopen it if this bug still exists in FC4 release. Thanks