-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Edward Guldemond wrote:
| I am having a problem with vixie-cron. I have my user listed in the
| cron.allow file and have them in the cron group, but cron is not
| executing tasks for them. For example, I have the following entry in
| my crontab for testing purposes, but it is not getting executed:
| 5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/bin/logger "CRON_TEST"
|
| Any help would be greatly appreciated.
|
It's kind of hard to help with out more information.
You don't specify where you've entered that cron job into... the system crontab
and user crontabs are parsed differently ; system crontabs require a user name
(which the command will be run as) before the command. If this is your case,
then it's not running because obviously /usr/bin/logger is not a valid user name.
Did you try restarting the daemon (or make sure it was running in the first place)?
Have you checked the logs?
Try getting rid of the cron.allow file all together and make sure you have an
empty (comments are ok) cron.deny file as well as the user in the cron group
(which you said you've done already). This is how I've always done it.
Btw, unrelated to your problem, instead of listing all those numbers to run the
job every 5 min, try:
*/5 * * * *
There's other cool vixie crontab syntax ; see crontab(5) manual page for more info.
HTH
- --
Latin is a language,
As dead as can be.
First it killed the Romans,
And now it's killing me.
Aaron Walker - Gentoo Developer [ Gentoo/BSD / forensics / cron ]
ka0ttic@gentoo.org
http://dev.gentoo.org/~ka0ttic/ -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird -
http://enigmail.mozdev.org iD8DBQFBak/AC3poscuANHARAodJAJ99AGLZkDaG3hJTlcWPypWSdbsk7QCg6guo
xZ3satV5OhNJC/wJ8ree+CU=
=Fh2I
-----END PGP SIGNATURE-----
--
gentoo-user@gentoo.org mailing list