gnome-schedule cron-display incorrect (&&-Part)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-schedule (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: gnome-schedule
Description: Ubuntu 8.10
Release: 8.10
ii gnome-schedule 2.0.2-1.1 GNOME scheduler for automatic tasks
Just the first part of a cron-scheduled command is displayed (&&-Part missing)
$ crontab -l | grep ping
@reboot ping -c 1 frodo >/dev/null 2>&1 && mythjobqueue >> /var/log/
$ gnome-schedule shows:
- crontab At reboot ping -c 1 frodo (no output is checked)
The second part including and after && is not displayed!!
However, when I add a special comment at the end or gnome-schedule itself creates the task, it's correct displayed.
$ crontab -l | grep ping
@reboot ping -c 1 frodo >/dev/null 2>&1 && mythjobqueue >> /var/log/
$ gnome-schedule shows:
- crontab At reboot ping -c 1 frodo >/dev/null 2>&1 && mythjobqueue >> /var/log/
This is fairly expected behaviour; Gnome Schedule only has limited support for parsing command lines that are not created with Gnome Schedule. It has to make a few assumptions, looking for stuff like '>/dev/null 2>&1' to figure out a few things. The procedure isn't perfect, but I don't plan on fixing it.. it would be hopeless to support all different possibilities.
But thanks for the bug report!
- gaute