Selfhost Domain Service (Setting up a cron job)
Ok, this should be an easy question.
I am trying to set up a cron job to request a specific web page every 2 minutes, to keep my selfhost domain refreshed. I'm running RH9. :newbie: |
If you just want to request the indexpage, this might help
crontab -e add */2 * * * * wget -r www.yourdomain.com 1> /dev/null the -r switch will write over the file every download, if you don't want to download the indexfile add the --spider switch. try wget from a shell before to see that it's working. |
Hmm
Thanks for the response, but that didn't work. The URL is quite a bit more complicated... (some parts modified for security reasons)
http://www.selfhost.com/xRemote.asp?...75892758924... (a bunch more numbers) If I try that with WGET I just get errors. Any other ideas? ASP |
What kind of errors do you get when you run it from terminal?
|
All times are GMT -5. The time now is 10:10 PM. |