LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-07-2010, 05:17 AM   #1
comptech520
Member
 
Registered: Apr 2006
Posts: 31

Rep: Reputation: 15
wget cron question


for a wget cron, would this be correct?

wget -q http://www.mydomain.com/cron.php

Or am I missing something?

Thanks
 
Old 03-07-2010, 05:27 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by comptech520 View Post
Or am I missing something?
If you mean only the commandline then it looks OK (though check that users ~/.wgetrc for additional settings), if you mean the actual crontab line then, yes you're missing something: check 'man 5 crontab' on how to actually schedule the cronjob.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
using cron and wget to hit a php script 360 Programming 9 06-20-2012 04:03 PM
cron+wget = multiple downloads stokilo Linux - Newbie 1 03-02-2009 11:49 AM
wget does not work when called by cron kapster Linux - Newbie 2 09-27-2007 03:06 AM
Weird interaction between wget and cron dinoman1989 Programming 2 07-11-2007 02:29 AM
setting up a php cron using wget Roosta21 Linux - Software 1 04-18-2007 06:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration