Rainer Hofmann wrote:
>
> Hi,
>
> any explanations why that cron job for user amanda doesn't even start:
>
> PATH=/sbin:/bin:/usr/bin:/home/amanda/bin:/usr/local/sbin
>
> 0 18 * * 1-5 amcheck merten && amdump merten
>
My first guess is that "amcheck merten" gives an error (the command
after && will be executed only if the previous one gave no error). I
suggest you run it by hand first and see what happens. Did cron send
mail with the errors?
Further: Is this the general crontab, or the crontab of the amanda user?
Who is allowed to run amdump? I mean, the way you have set things up, is
amdump ran as root? If so, you should change it, doing 'su amanda -c
"amdump merten"' (if you use the general crontab, or root's). For more
details on cron: man cron, man crontab.
> I'm using joe as editor instead of vi.
>
This is totally irrelevant - are you superstitious? :-)
--
Regards
Chris Karakas
Don´t waste your cpu time - crack rc5: http://www.distributed.net