![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Registered User
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? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
salad tossing sig guy
Join Date: Apr 2002
Location: mrthumbs*gmail.com
Posts: 11,702
|
check your permissions: there are different permissions while logged on and running that command..
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Jun 2002
Location: Seattle
Posts: 1,062
|
Try specifying the full path to wget.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
Registered User
Industry Role:
Join Date: Feb 2003
Location: The Great White North
Posts: 63
|
Quote:
your advice worked ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |