| | |||||
| ||||||||
| Web Hosting Discussion Hosting topics including DNS, control panels, servers, choosing a host, support. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| Senior Member Join Date: Oct 2007 Location: Sydney, Australia
Posts: 1,022
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | |
| | |
| | #2 (permalink) |
| NamePros Regular Join Date: Oct 2008 Location: Florida
Posts: 450
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Around how many RSS feeds is it trying to process? Also, what language is it written in?
__________________ ██ 6 Website HotSpots You May Have Missed | Custom Web Development & Graphic Deals ██ |
| | |
| | #3 (permalink) |
| Forum Moderator ![]() Join Date: Aug 2006 Location: USA
Posts: 2,152
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | You can provide multiple values separated by commas: This example will run every 5 minutes from midnight up to (but not including) 2 AM (and will not send you email) 0,5,10,15,20,25,30,35,40,45,50,55 0,1 * * * command > /dev/null 2>&1
__________________ Enlytend Solutions - Internet marketing and web development Was my advice helpful? Please consider a small donation to the National Canine Cancer Foundation - a tax deductible 501(c)(3)that directly funds cancer research
Last edited by enlytend; 03-09-2010 at 10:28 AM.
Reason: oops - added an extra $ sign!
|
| | |
| | THREAD STARTER #4 (permalink) |
| Senior Member Join Date: Oct 2007 Location: Sydney, Australia
Posts: 1,022
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | |
| | |
| | #5 (permalink) |
| Domains my Dominion Join Date: Aug 2005 Location: Web 1.0
Posts: 9,963
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | 30 seconds must be the timeout for your scripts (PHP ?). Have a look at the set_time_limit directive, if execution time can be overridden on your host.
__________________ NameNewsletter.com - free lists of available domain names ZoneFiles.net (beta) - ccTLD and gTLD droplists |
| | |
| | #6 (permalink) |
| NamePros Regular Join Date: Nov 2009
Posts: 656
![]() ![]() | I think you need another cron to be involved - just to check if there are any new feeds. If there are - start the main script.
__________________ Use coupon "Rob" and get 10% discount for any payment! WebIntellects - Fully Managed Dedicated and since 1999. WebhostGIANT - Low cost hosting from $2.79! |
| | |
| | THREAD STARTER #7 (permalink) |
| Senior Member Join Date: Oct 2007 Location: Sydney, Australia
Posts: 1,022
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Thanks for the response, Rob, but the feeds are updated constantly so they are always new. I used enlytend's tip to make cron run like I wanted and it works perfect. I log everthing to a file, and when the last cron runs it sends me an email just so I can check everything was ok. |
| | |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |