[BusyBox] Crond doesn't work

Enrico lupsyn Del Zotto lupsyn at tin.it
Sun Nov 21 18:44:20 UTC 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

/var # ls spool/cron
crontabs
/var # ls -la  spool/cron
drwxr-xr-x    3 root     root           60 Nov 21 19:38 .
drwxrwxrwt    3 root     root          120 Nov 21 18:40 ..
drwxr-xr-x    2 root     root           60 Nov 21 19:17 crontabs
/var # ls -la spool/cron/crontabs/
drwxr-xr-x    2 root     root           60 Nov 21 19:17 .
drwxr-xr-x    3 root     root           60 Nov 21 19:38 ..
- -rw-r--r--    1 root     root           34 Nov 21 19:21 root
/var #

/tmp/cron/crontabs # cat root
42 * * * * echo "cia">>/dev/tty
42 * * * * "echo "cia">>/dev/tty"
/tmp/cron/crontabs # date
Sun Nov 21 19:40:08 UTC 2004
/tmp/cron/crontabs #
/tmp/cron/crontabs # crontab -l
Using fallback suid method
42 * * * * echo "cia">>/dev/tty
42 * * * * "echo "cia">>/dev/tty"
/tmp/cron/crontabs #
/tmp/cron/crontabs # ps aux | grep crond
   423 root        300 S   crond
   428 root        324 S   grep crond
/tmp/cron/crontabs # date
Sun Nov 21 19:41:19 UTC 2004
/tmp/cron/crontabs # date
Sun Nov 21 19:42:07 UTC 2004
/tmp/cron/crontabs #

It looks ok .... but ... crond doen't execute the command, why ? 
another thing...
/tmp/cron/crontabs # crontab -e
Using fallback suid method
crontab: chdir failed: root root: Not a directory

it's too strange... there is a file in /var/spool/cron/crontabs/root 
but the crontab does'nt edit it why ?

thx all

Enrico "lupsyn" Del Zotto

Home page     http://hell.homelinux.com
Co-founder of http://www.mojodo.it
Icq 18119699
Msn lupsyn at mojodo.it
Aol-ichat lupsyn
irc lupsyn at irc.net #mojodo,#linux-it

Public pgp key available here
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x2B2CAEAA

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFBoOIGZOGtEyssrqoRAndzAJwK4RNfmtB0WTJ8pHPhOsL7azyLjQCfTEAT
6NLK+WU9c6WbOjqQKf+Jqxc=
=/rur
-----END PGP SIGNATURE-----




More information about the busybox mailing list