GNOME Bugzilla – Bug 597613
Tasks are not done
Last modified: 2009-10-07 18:14:19 UTC
I use Gnome Schedule 2.0.2 to make a backup everyday. But whenever I checked if the backup was done, it was never actually processed I had to manually do it myself. The computer is usually on during that time (at least the last 4-5times).
Greetings, Check if everything is setup like it should: http://gaute.vetsj.com/2009/02/20/how-to-figure-out-if-crontab-and-at-is-correctly-set-up/ this depends on your distro so please consult its docuemtation on how to turn on the both needed crontab and at daemons. - gaute
Hey Went through the whole process, everything was fine, but gnome-schedule still doesnt work. -Niklas
Hey, So you must be trying to set up a recurrent task ? Does it show up in Gnome-schedule ? What is the exact command you are trying to run ? Is the program an X application ? (gui/cli)? What is the output of 'crontab -l' ? What distribution are you running ? What version of gnome-schedule ? - gaute
(In reply to comment #3) > What version of gnome-schedule ? Just discovered that in your first post! The last release 2.1.1 does include a lot of bugfixes and a few new features; including support for X applications. If you are able to, please upgrade. - gaute
>So you must be trying to set up a recurrent task ? Yes daily backup. >Does it show up in Gnome-schedule ? Yes >What is the output of 'crontab -l' ? 30 12 * * * grsync -e "University" #JOB_ID_1 >What is the exact command you are trying to run ? grsync, the graphical interface for rsync. I was looking for a way to make daily backups with Ubuntu, this was what I was told, use gnome-schedule with grsync. >What distribution are you running ? What version of gnome-schedule ? Ubuntu 9.04, gnome 2.1.1 >Just discovered that in your first post! The last release 2.1.1 does include a >lot of bugfixes and a few new features; including support for X applications. >If you are able to, please upgrade. I tried to upgrade gnome-schedule to 2.1.1 but I couldnt, The configure command wouldnt work because I am missing pygtk-2.0 and I couldnt find a way to install that. -Niklas
> --- Comment #5 from Niklas Caspers <uyboz@stud.uni-karlsruhe.de> 2009-10-07 > 14:03:12 UTC --- > >What is the exact command you are trying to run ? > grsync, the graphical interface for rsync. I was looking for a way to make > daily backups with Ubuntu, this was what I was told, use gnome-schedule with > grsync. Gnome-schedule, earlier than 2.1.0, doesn't automatically support X applications, see the comments on: http://gaute.vetsj.com/2009/02/20/how-to-figure-out-if-crontab-and-at-is-correct ly-set-up/#comments > I tried to upgrade gnome-schedule to 2.1.1 but I couldnt, The configure command > wouldnt work because I am missing pygtk-2.0 and I couldnt find a way to install > that. From source? I belive the package is called python-gtk2 in Ubuntu. But you will need a few development packages as well. See the README on gitweb: http://git.gnome.org/cgit/gnome-schedule/tree/README You could try to manually install the ready-packed version - 2.1.0 - from Ubuntu 9.10: http://packages.ubuntu.com/karmic/gnome-schedule - gaute
*** This bug has been marked as a duplicate of bug 509233 ***
Well so I went to manually installing the ready-packed version from the link you gave me, now gnome-schedule is not starting at all anymore. When I type in the terminal: $ gnome-schedule I get: Traceback (most recent call last):
+ Trace 218135
mainWindow = mainWindow.main(debug_flag, False, pr, manual_poscorrect)
self.schedule_reload ()
data = self.crontab.read ()
array_or_false = self.parse (line)
success, ver, title, desc, output, display, command_d = self.get_job_data (job_id)
return True, ver, title, desc, output, display, command_d
(In reply to comment #8) > Well so I went to manually installing the ready-packed version from the link > you gave me, now gnome-schedule is not starting at all anymore. Yes.. this is https://bugs.launchpad.net/ubuntu/+source/gnome-schedule/+bug/419471 or bug 588091. Fixed in the latest development version (2.1.1) which is _not yet_ packed by Ubuntu. Please post another comment on the above linked launchpad bug to make them realize this is going to bug a lot of users. The quick fix is to delete your crontab and set up your tasks again: $ crontab -d - gaute