user cronjobs are not performed
Thilo Six
T.Six at gmx.de
Sat Apr 15 11:36:23 UTC 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
Simon Zilliken schrieb am 15.04.2006 10:15:
> I don't understand ... I'm talking about a user crontab, so there's no need
> (and no way) to give a user. "nice" is part of the command.
>
> Bye, Simon
You are right. But there is a possibilty to specify a different user.
man crontab
If the -u option is given, it specifies the name of the user whose
crontab is to be tweaked. If this option is not given, crontab
examines "your" crontab, i.e., the crontab of the person executing the
command.
Hmm
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
^^^^^ ^^^^
||||| i am not sure about this. i do not have clamscan
An other try would be to put the whole command line in a shell script
and let crontab execute this.
bye Thilo
- --
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
iD8DBQFEQNq2gkdHiUpBHgkRA56uAKC7ADBNcYgY4MrRdayVeR9r+j/GKQCgglk6
UZ0aAu9H7Rz20i3LkupIths=
=iX2P
-----END PGP SIGNATURE-----
More information about the kubuntu-users
mailing list