Re: launch deluge autoomatically using scheduled tasks
Since deluge is a gui application you need to specify the display environment variable in the crontab.. like
10 2 * * * export DISPLAY=:0.0 && /usr/bin/deluge
Also to shutdown...you have to add the following to the root's crontab
adding sudo shutdown to your crontab will not work...as you won't be able to enter the sudo password.
Last edited by BugBuster; April 19th, 2011 at 01:09 PM.
Debian 6.0.1(Squeeze)/64bit
**************************
MSI K9AGM4-L | AMD Athlon64 X2 4000+ | 2x1GB DDR2 800MHZ(Transcend) | ATI Radeon Xpress 1250(Onboard) | Seagate 250GB SATA II | Acer AL1916W
Bookmarks