[wellylug] Cron troubles

Cliff Pratt enkidu at cliffp.com
Fri Feb 3 14:19:17 NZDT 2006


>
> Hi all
> I have some troubles to run my hourly scripts with the following crontab
>
> [root at rimutaka root]# more /etc/crontab
> SHELL=/bin/bash
> PATH=/sbin:/bin:/usr/sbin:/usr/bin
> MAILTO=root
> HOME=/
>
> # run-parts
> 05 * * * * root nice -n 19 run-parts /etc/cron.hourly > /dev/null 2>&1
> 00 17 * * * root nice -n 19 run-parts /etc/cron.daily > /dev/null 2>&1
> 22 22 * * sat root nice -n 19 run-parts /etc/cron.weekly
> 42 21 1 * * root nice -n 19 run-parts /etc/cron.monthly
>
>
> Each individual script can be run manually by command line and all are Ok
> (no
> errors reported)
>
> [root at rimutaka cron.hourly]# ll
> total 6
> -rwxr-xr-x    1 root     root          782 Feb  2 11:31 adminfiles*
> -rwxr-xr-x    1 root     root          747 Feb  1 13:32 multidots*
> -rwxr-xr-x    1 root     root         1480 Feb  2 11:30 synchro*
> -rwxr-xr-x    1 root     root          409 Jan  6 14:21 TIF_autorisation*
>
>
> Note that the scripts in cron.daily have the same owner and mod
>
> Any idea ???
> Thanks a lot
>
Do you see messages in the logs when the scripts run? Do they produce
anything at all? Does anything get mailed to root?

Cheers,

Cliff




More information about the wellylug mailing list