Hi all.

I am trying to execute a shell script containing a simple tar command using a cron job, and I ain't no good at this!

I created a file called exec_tar.sh and placed it at the web root of my website. The file contained:

tar -cvf cah_web`date +"%m%d%y"`.tar -C /home/myweb/www

I am attempting to tar the whole "www" directory, then I'll ftp it to another site for storage.
I set up a cron to run:

home/myweb/www/exec_tar.sh


This isn't working...am I even close?

lost,
steve







____ • The WDVL Discussion List from WDVL.COM • ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
      Send Your Posts To: [email protected]
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.

Reply via email to