user cronjobs are not performed

Thilo Six T.Six at gmx.de
Mon Apr 17 18:58:57 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Simon Zilliken wrote the following on 17.04.2006 19:25:

>>You said if you execute the command from cli it works as expected.
>>Maybe try to put the full absoulte path in crontab.
>>
>>nice clamscan -rl /home/$USER/Desktop/clamscan.daily
>>                       ^^^^^
>>
>>/usr/bin/nice /usr/bin/clamscan -rl /home/Simon/Desktop/clamscan.daily
> 
> 
> That helped me to solve it. There's no need to put absolute paths for 
> commands, but $USER could not be resolved. That made me wonder what sense it 
> makes to specify SHELL and PATH at the top of the crontab, so I left it out - 
> and it works as well. So my crontab looks like this now:
> 
> # scan /home for viruses daily
> 00 18 * * * nice -n 19 clamscan -rl /home/simon/Desktop/clamscan.daily /home 
> 
>>& /dev/null
> 
> 
> # eof
> 
> Thanks,
> 
> Simon

glad i could help. ;)

- --
i am on Ubuntu 2.6 KDE
- - some friend of mine

gpg key: Ox4A411E09

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEQ+VwgkdHiUpBHgkRA5EnAJsHOjYIIAxNsOf0QrqrsFfOXMFyAACggQX8
t79K+eXdpefUwYrnyMINKJY=
=xcfw
-----END PGP SIGNATURE-----





More information about the kubuntu-users mailing list