crond problem
Vladimir N. Oleynik
dzo at simtreas.ru
Tue Dec 13 09:02:34 UTC 2005
Julien,
> I'm trying to use the crond of busybox 1.0. I've searched the list
> archives for instrucions about how to solve my problem but I found
> nothing clear.
> Here is the problem :
> I've a startup script that launches crond and set the crontabs
> $ cat /etc/rcS.d/S40crond
> #!/bin/sh
> #Setting up the cron daemon confguration
> mkdir -p /var/spool/cron/crontabs
> # Copying the crontab file
> /usr/bin/crontab /etc/crontab
> /usr/sbin/crond
>
> Here is my crontab file :
> $ cat /etc/crontab
> #SHELL=/bin/sh
> #PATH=/sbin:/bin:/usr/sbin:/usr/bin
> #MAILTO=root
> #HOME=/
>
> # run-parts
> 01 * * * * root /bin/run-parts /etc/cron.hourly
> 02 4 * * * root /bin/run-parts /etc/cron.daily
> 22 4 * * 0 root /bin/run-parts /etc/cron.weekly
> 42 4 1 * * root /bin/run-parts /etc/cron.monthly
Busybox crond is port of dcron-2.3.3.
This crond have not "user" string from crontab,
user name gived from filename of crontab.
> Here is what i can see in syslog :
>
> Jan 1 02:00:18 (none) syslog.info -- MARK --
> Jan 1 02:01:01 (none) kern.notice crond[944]: USER root pid 1123 cmd
> root /bin/run-parts /etc/cron.hourly
You see problem:
... cmd root ...
--w
vodz
More information about the busybox
mailing list