Log in Register FAQ Memberlist Search Welcome to RCF - WHF Forum Index
alt : test.swf
Welcome to RCF - WHF
4fx3.gif 
calendar_open_closeCalendar 
IX/CRON Q
Post new topic   Reply to topic View previous topic :: View next topic
Goto page: 1, 2  Next
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
IX/CRON Q
PostPosted: 07/21/2007 5:15 AM Reply with quote
Citation
Karen
Citation
Posts 1253
Word Cnt. 68,166
BDay Nov 9
Sign Scorpio
Sex Sex:Female
Joined: Jan 06, 2006
Local time: 1:59 PM
greatbrE.gif
I need to use CRON for my new site and in the documentation is says

Quote:
17. Do you have CRON support?
Yes, CRON is fully supported and manageable through convenient control panel interface on any of our Linux hosting accounts.


How do I find where that is ? I've looked but can't see it.

blob8
Back to Top
View user's profile Find all posts by Karen Send private message   Visit poster's website Phoogle Map
Re: IX/CRON Q
PostPosted: 07/21/2007 12:48 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 9:59 AM
Location: St Pete, FL
peace.gif
You can set up a CRON job in your Host CPanel.  It varies from Host to Host.  For IX, just click on the FTP Manager icon:



If it is turned off, click on the Off icon next to Crontab:



Then click on the Edit icon next to Crontab:



You will see settings for Minute, Hour, Day of Month, Month, Day of Week, and Command:



If you place a * in a box, then that means to launch the Cron job on every interval for that box.  So if you placed a * in the Minute field, it would launch the Cron job on every minute of the designated period.  The same would apply with the rest of the fields.  If you don't want it to launch that often, you can enter a number.  So the following will launch the Cron job on every hour on the hour of every day:



The Command would be the path to the file that you want to launch on a regular schedule.  The syntax is different from server to server, so if you can't get it to work, it is usually best to contact the host and ask for their help in setting things up.  On IX, I use the GET command, plus the path to the file that I want to run.  So to launch our newsfeeds, I use the following command:

Code:
GET http://4fxearth.net/phpBB2/mods/netclectic/find_input/news_insert.php > /dev/null


Since I only want to pull newsfeeds every four hours, this is how I set it up:



headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: IX/CRON Q
PostPosted: 07/22/2007 7:26 AM Reply with quote
Citation
Karen
Citation
Posts 1253
Word Cnt. 68,166
BDay Nov 9
Sign Scorpio
Sex Sex:Female
Joined: Jan 06, 2006
Local time: 1:59 PM
greatbrE.gif
Great NR thanks for the clear instructions  headbang  Applause
Back to Top
View user's profile Find all posts by Karen Send private message   Visit poster's website Phoogle Map
Re: IX/CRON Q
PostPosted: 07/22/2007 2:20 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 9:59 AM
Location: St Pete, FL
peace.gif
You're welcome Karen.  I hope you managed to get your own Cron jobs working now...

headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: IX/CRON Q
PostPosted: 07/26/2007 7:21 AM Reply with quote
Citation
Karen
Citation
Posts 1253
Word Cnt. 68,166
BDay Nov 9
Sign Scorpio
Sex Sex:Female
Joined: Jan 06, 2006
Local time: 1:59 PM
greatbrE.gif
Should I see the list of jobs set up?  

flower
Back to Top
View user's profile Find all posts by Karen Send private message   Visit poster's website Phoogle Map
Re: IX/CRON Q
PostPosted: 07/27/2007 5:32 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 9:59 AM
Location: St Pete, FL
peace.gif
Yes, it doesn't appear that you've created any though...

dontknow
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: IX/CRON Q
PostPosted: 07/27/2007 5:46 PM Reply with quote
Citation
Karen
Citation
Posts 1253
Word Cnt. 68,166
BDay Nov 9
Sign Scorpio
Sex Sex:Female
Joined: Jan 06, 2006
Local time: 1:59 PM
greatbrE.gif
The guy was supposed to do it but he said it went back to that page once he did it, I need to chase him up about it  Rolling Eyes  Not long now..lol!  hysterical2
Back to Top
View user's profile Find all posts by Karen Send private message   Visit poster's website Phoogle Map
Re: IX/CRON Q
PostPosted: 07/27/2007 10:44 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 9:59 AM
Location: St Pete, FL
peace.gif
Go ahead and create a cronjob yourself to see how it works.  The command doesn't have to be valid if you're just playing around...

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: IX/CRON Q
PostPosted: 07/28/2007 3:09 AM Reply with quote
Citation
Karen
Citation
Posts 1253
Word Cnt. 68,166
BDay Nov 9
Sign Scorpio
Sex Sex:Female
Joined: Jan 06, 2006
Local time: 1:59 PM
greatbrE.gif
Ohh I did think about that but wasn't sure if it would affect anything  flower
Back to Top
View user's profile Find all posts by Karen Send private message   Visit poster's website Phoogle Map
Re: IX/CRON Q
PostPosted: 07/28/2007 10:24 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 9:59 AM
Location: St Pete, FL
peace.gif
No, it won't hurt anything.  If you don't provide a valid link in the command, it will simply try to run something that doesn't exist, then it will give up...

headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
 Post new topic  Reply to topic
Information
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
All times are GMT - 5 Hours
Goto page: 1, 2  Next
Page 1 of 2


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.1281s (PHP: 42% - SQL: 58%) - SQL queries: 58 - GZIP disabled - Debug on