![]() |
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? |
check your permissions: there are different permissions while logged on and running that command..
|
Try specifying the full path to wget.
|
Quote:
your advice worked:) |
All times are GMT -7. The time now is 11:35 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123