Hi all.

I have set up a cron job on one webserver to run an executable on another
webserver. Right now I am piping the output to mail using something like

00 06 * * * curl -dump http://www.server.com/file.phtml | mail
[EMAIL PROTECTED]

which places the output of the file into the body of the email. What I would
like to do is save the output as a file (instead of the email) with a name
that identifies the day it was run, like file061003.txt or whatever is
easiest. 

Is there a way to do this?

Thanks,

steve 

____ � The WDVL Discussion List from WDVL.COM � ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
       Send Your Posts To: [EMAIL PROTECTED]
To change subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to