On Tuesday 21 August 2001 05:00 pm, you wrote:
> Spoke to soon as to my problem beign solved, what is happening now is that
> the tar/zip operations are still running when my script copies ythe files
> and dates them for the archive folder, the working part of the script is
> something like
>
> exec("tar -z -cf area.tgz ../Mud/area/ | cp area.tgz
> archive/area_$backupdate.tgz");
>
> How can I get it to wait between these to operations?
>
> Thanks in advance for all the help.
>
> Dincerly,
> Duston S. Horacek

You want to use
system("tar -z -cf area.tgz ../Mud/area/|cp area.tgz 
archive/area_$backupdate.tgz");

I was having the same problem with a similar script and that fixed it. 
-- 
Michael D. Risser
Software Engineer
Machine Vision Products, Inc.
www.visionpro.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to