Phil et al:

> one of two ways... either run a cron job to execute your Perforce checkpoint
> program on a cron job x mins before the cron job for amanda happens knowing
> that the perforce program takes x mins to complete (and of course some buffering
> wouldn't hurt) and then have the cron job for amdump run after.  Or, just make
> your own shell script owned by user backup that can do both in the script for you
> and then remove the amdump cron job and have the shell script do this for you.

Run it through a shell script. You can never guarantee that a certain
command won't hit a bug or timeout indefinitely. Furthermore you can
check to see if it actually worked before running amdump (or the next
command) using the $? variable and so forth...

DL

-- 
Who can tell if black is white?
 Who can say if day is night?
 I know when to win this fight...
It's a question of honour!

Reply via email to