Re: System call problem

2001-05-16 Thread Peter Scott
At 11:32 AM 5/16/01 -0600, Scott Burks wrote: >I have a script that has the following two lines: > >system("echo find /OPERATIONS/system_cleanup/logs -name \"'log.*'\" >-mtime +30 -exec rm {} '\\;' '>> $log_file 2>&1'"); > >system("find /OPERATIONS/system_cleanup/logs -name \"'log.*'\" -mtime >+30

System call problem

2001-05-16 Thread Scott Burks
I have a script that has the following two lines: system("echo find /OPERATIONS/system_cleanup/logs -name \"'log.*'\" -mtime +30 -exec rm {} '\\;' '>> $log_file 2>&1'"); system("find /OPERATIONS/system_cleanup/logs -name \"'log.*'\" -mtime +30 -exec rm {} '\\;' '>> $log_file 2>&1'"); The first