gnome-schedule cron-display incorrect (&&-Part)

Bug #317611 reported by pjw
0
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/mythtv/mythjobqueue.log 2>&1

$ 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/mythtv/mythjobqueue.log 2>&1 # JOB_ID_3

$ gnome-schedule shows:
- crontab At reboot ping -c 1 frodo >/dev/null 2>&1 && mythjobqueue >> /var/log/mythtv/mythjobqueue.log 2>&1

Revision history for this message
GauteHope (eg) wrote :

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

Revision history for this message
GauteHope (eg) wrote :

For package maintainer: This bug is a 'Won't fix' upstream.

- gaute

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.