View Full Version : [ubuntu] Help with Gnome-Scheduler

October 15th, 2009, 02:49 AM
I've created a crontab with Gnome scheduler.

The command works fine in Terminal.

Nothing happens at the set time in Gnome-Scheduler.

If I go in Gnome-Scheduler and run the task manually, it works fine (although asks me for a couple of prompts first "Are you sure you want to run this task now" and

Note about working directory of executed tasks:

Recurrent tasks will be run from the home directory, one-time tasks from the directory where Gnome schedule was run from at the time of task creation (normally the home directory).

I click OK & it runs fine.

Does anyone know what's happening?

The task is cd /home/username/torrents;btdownloadgui.bittornado movie.torrent

October 15th, 2009, 03:30 AM
I should add that although the task doesn't appear to run, it disappears from the list of scheduled tasks in Gnome-Schedule!

December 2nd, 2009, 08:09 AM
Exactly the same problem here.

December 3rd, 2009, 03:43 PM
Same problem here,
I even tried it with sudo crontab
instead of gnome schedudler,
but none of them is working AAAH!!!

December 4th, 2009, 08:48 AM
First, don't use sudo for crontab...

Second, check the deny and allow files

Third, use
crontab -eFourth, for running GUI applications, use something like this...

00 06 * * * env DISPLAY=:0 gui_appname
...the env DISPLAY=:0 tells cron to run on top of the current desktop...

Fifth, for running GUI applications in Karmic, enable X ACL also...

~$ xhost +local:
non-network local connections being added to access control list
~$ xhost
access control enabled, only authorized clients can connect

Reference: https://help.ubuntu.com/community/CronHowto