dilligaf
04-10-2001, 01:44 PM
I know I can use at and cron to start a script running at a specific time, but is there a way to stop it as well?
Case:
I need to run a backup of a server over night.
I am using rsync. (very nice by the way)
The amount to transfer is from 0 to 6GB.
The connection is 56K Leased line. :eek:
The connection must be freed up during the day.
Obviously I have a potential problem if I just cron it to start at 9pm and it needs to transfer more than a Gig.
So... Is there a way to have something shut the process down if it was running too long?
Alternatively, Is there a better process to use than rsync?
Thanks.
Case:
I need to run a backup of a server over night.
I am using rsync. (very nice by the way)
The amount to transfer is from 0 to 6GB.
The connection is 56K Leased line. :eek:
The connection must be freed up during the day.
Obviously I have a potential problem if I just cron it to start at 9pm and it needs to transfer more than a Gig.
So... Is there a way to have something shut the process down if it was running too long?
Alternatively, Is there a better process to use than rsync?
Thanks.