Re: amanda cron job doesn't start?

2000-12-06 Thread Roshan Rogge


Hi,

i think you must give the full path of the programs like: 0 18 * * 1-5
/usr/local/sbin/amcheck merten

and make two entries one with amdump and another for amcheck. look for a mail
from crontab, there must be the error

Also viel spass noch/Good luck

Roshan



Re: amanda cron job doesn't start?

2000-12-06 Thread Chris Karakas

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
Dont waste your cpu time - crack rc5: http://www.distributed.net



Re: amanda cron job doesn't start?

2000-12-06 Thread Eric Wadsworth

Just a thought, you modified the contab using the command 'crontab -e'
right? Otherwise it won't actually install the change.

On 6 Dec 2000, 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 
 
 
 I want to run backups at 6.00 pm on Mo-Fr as user amanda.
 
 settings in etc/passwd are as follows:
 
 amanda:x:501:6:Amanda Backup User:/home/amanda:/bin/bash
 
 I'm using joe as editor instead of vi.
 
 crond is up and running, since other cronjobs of root are executed.
 I'm using Linux RedHat 6.2. Is there any general setting who is
 allowed to run cron jobs at all?
 
 Thanks
 Rainer
 -- 
 Chemisches Labor Dr. Merten GmbH
 Röderstr. 8-10
 79104 Freiburg
 Tel: 0761 29648-0