Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
What do these Cron variables mean?
Old 03-11-2011, 11:05 PM What do these Cron variables mean?
TWD
TWD's Avatar
King Spam Talker

Posts: 1,182
Trades: 0
wget -O - -q -t 1 http://yoursite.com/cron.php

I'd like to get more of a handle on setting cron jobs.

So what do each of these options do?

-O
-
-q
-t
1

????
Anyone know?
__________________
RATE-MY-WEBSITE.com "Free website reviews by real web professionals"
Please login or register to view this content. Registration is FREE
TWD is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-13-2011, 09:59 PM Re: What do these Cron variables mean?
Super Spam Talker

Posts: 878
Name: Paul W
Trades: 0
"cron" jobs are just programs set to run at particular times or frequencies via the cron facility. Any command line options you see are for the program that is to be run - so to find out what the options you mention do, search the web for info on the wget command - best way to sart is with the man pages: search for "man wget" for info.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE


*** New:
Please login or register to view this content. Registration is FREE
PaulW is offline
Reply With Quote
View Public Profile
 
Old 03-16-2011, 02:28 AM Re: What do these Cron variables mean?
TWD
TWD's Avatar
King Spam Talker

Posts: 1,182
Trades: 0
For those interested:

Linx or Wget

The Web site for Lynx is http://lynx.isc.org/. The Web site for Wget is http://www.gnu.org/software/wget/. Lynx is a Web browser and does not require parameters to read cron.php. Lynx is the easiest way to activate cron.php.
Some people insist on using wget. Perhaps they do not have lynx installed. Wget gets files and needs special parameters to get a Web page. Note that qwget is not semantic. The decorative upper case -O is a different option to the regular case -o.
-O - tells wget where to put the output file and the second dash, - tells wget the output location is the screen. This complicated non semantic option specification makes wget behave the same as the default lynx. If you do not use the -O -, you have to specify a location for the retrieved file and make sure the location has the right permissions.
-q tells wget to be quiet and not produce messages.
-t 1 means retry once. The default without the t option is 20 retries. -t 0 will send wget into an infinite loop retrying.
__________________
RATE-MY-WEBSITE.com "Free website reviews by real web professionals"
Please login or register to view this content. Registration is FREE
TWD is offline
Reply With Quote
View Public Profile
 
Old 03-16-2011, 05:56 AM Re: What do these Cron variables mean?
Super Spam Talker

Posts: 878
Name: Paul W
Trades: 0
cron.php?
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE


*** New:
Please login or register to view this content. Registration is FREE
PaulW is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to What do these Cron variables mean?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.28747 seconds with 12 queries