> prepare a shell script wrapper containing 2 (or more) lines like:
> 
>         /usr/local/sbin/amdump nf-amanda
>         /usr/local/sbin/amverify nf-amanda 2> /dev/null > /dev/null
> 
> And change your crontab first line to:
> 
>         3 23 * * 1-5 /usr/local/sbin/amdumpwrapper

This solution should eliminate external scripts:

 3 23 * * 1-5 amdump nf-amanda; amverify nf-amanda > /dev/null 2>&1

As a side issue, I believe 'amverify' waits for a tape if there is 
none available. This may cause hanging 'amverify' processes if nobody 
swaps tapes for a few days.

I don't think there is an option telling 'amverify' to quit if there
is no tape.

--
Ulrik Sandberg

Reply via email to