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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 11-28-2003, 09:21 AM   #1
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
Old 11-28-2003, 09:23 AM   #2
mrthumbs
salad tossing sig guy
 
mrthumbs's Avatar
 
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..
mrthumbs is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-28-2003, 09:38 AM   #3
vending_machine
Confirmed User
 
Join Date: Jun 2002
Location: Seattle
Posts: 1,062
Try specifying the full path to wget.
vending_machine is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-28-2003, 10:04 AM   #4
Randy Andy
Registered User
 
Randy Andy's Avatar
 
Industry Role:
Join Date: Feb 2003
Location: The Great White North
Posts: 63
Quote:
Originally posted by vending_machine
Try specifying the full path to wget.
Thanks vending_machine
your advice worked
Randy Andy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.