On 4/27/04 Mark Wheeler wrote:

>Yup. You're right. I missed that one. Here's what I did to simplify the 
>testing of the script.

>copy("/Users/xxxxxx/Documents/db1.txt", 
>"/Users/xxxxxx/Documents/db1.txt.bak") or warn "Can't copy file: $!";

>---------------------------------------------
>I know the cron is firing off the request, because when first tried it, 
>I got Permission Denied in my email box. So I changed the permission to 
>755 and it still doesn't copy the file. And I get nothing in my email 
>box. I'm a little confused. What am I missing?

Is that "Permission Denied" for execution of your script? Perhaps it's
for writing the file. Check the write permissions of the
"/Users/xxxxxx/Documents" directory.

1;


- Bruce

__bruce__van_allen__santa_cruz__ca__

Reply via email to