System = SunOS 5.6

Problem = When Amanda's crontab runs, amcheck cannot find the 
tape, but when amcheck is run manually from the command line, it 
finds the tape fine.

Crontab =
0  16  * * 1-5    /opt/bin/amcheck -m geo
45 0   * * 2-6    /opt/bin/amdump geo;mt -f /dev/rmt/0 off

The crontab was created with amanda user logged in, in amanda's 
home dir as "amanda_crontab". Then as amanda user I ran 
"crontab amanda_crontab" and then to make sure the changes took 
effect, "crontab -l". The crontab file is in place.

But when cron runs the file, "/opt/bin amcheck -m geo" errors out by 
not finding the tape. However, if I enter the same command (as 
amanda user) at the command line, it works fine, finds the tape and 
OKs the job.

Help?

Robert Renzetti
Computer Systems Manager
Geology & Geophysics
Texas A&M University
(979) 845-1366

Reply via email to