Thread: wget and cron
View Single Post
Old 11-28-2003, 09:21 AM  
Randy Andy
Registered User
 
Randy Andy's Avatar
 
Industry Role:
Join Date: Feb 2003
Location: The Great White North
Posts: 63
wget and cron

I am trying to setup a cronjob to download a file from the web and write it to my server to run every hour
this is the crontab entry I have created
10 * * * * wget -O /usr/home/httpd/mysite.com/page.shtml http://www.mysite.com/template.shtml >/dev/null
unfortunately cron entry isn't working
although when I execute the wget line from shell it works
does anyone know why the cronjob wouldn't work although wget is working from shell?
Randy Andy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote