Cron not running

Luca Ferrari fluca1978 at infinito.it
Tue Jul 30 08:13:44 UTC 2013


On Tue, Jul 30, 2013 at 8:22 AM, Phil <phil_lor at bigpond.com> wrote:

> phil at Asus:~$ crontab -l
> #No comment
> 20 16 * * *     /home/phil/pretty.sh
>


Almost sturely cron will not be able to find and run the job since the
pretty.sh script is not in the PATH. You have to modify the PATH of
the user (permanently) or add a PATH definition on top of the crontab
file configuration:

$ crontab -e
PATH=$PATH:$HOME
20 16 * * *     /home/phil/pretty.sh

and then make sure your script is executable. Finally to check that
cron is running you have to:
ps -auxw | grep cron

Luca




More information about the kubuntu-users mailing list