Halfagain IM Forums
May 17, 2012, 08:03 *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Due to increasing spam we are forced to make this forum "Read Only". If you have an issue, most likely was discussed here. Use the Search function and try to find related discussions. If you can't find any helpful information, just email support at halfagain dot com"
 
   Home   Help Login Register  
Pages: 1 [2]
  Print  
Author Topic: Overlapping cronjobs  (Read 10430 times)
0 Members and 3 Guests are viewing this topic.
silvi
Newbie
*

Karma: 10
Offline Offline

Posts: 36


« Reply #15 on: September 04, 2006, 08:04 »

anyone knows?
Logged
silvi
Newbie
*

Karma: 10
Offline Offline

Posts: 36


« Reply #16 on: September 12, 2006, 19:34 »

Deliguy
I need your help...
Logged
Deliguy
Newbie
*

Karma: 10
Offline Offline

Posts: 48


« Reply #17 on: September 12, 2006, 20:24 »

Hey guys and gals,
sorry i haven't been around in awhile. Been kind of busy. I posted a slightly different version than what i use myself. It wasn't fully tested. I'll take a look at the code again and make apost when i find the fix. It's probably something really simple.
Logged

This was a post from your friendly neighborhood Blue Hatter
BlueHatSEO.com
Everyone gets one Smiley
silvi
Newbie
*

Karma: 10
Offline Offline

Posts: 36


« Reply #18 on: September 14, 2006, 19:32 »

I'm looking forward to it Deliguy
Logged
silvi
Newbie
*

Karma: 10
Offline Offline

Posts: 36


« Reply #19 on: September 18, 2006, 10:19 »

Whenever I start the ping process, my dns services got offline
So I need this addon Deliguy :cool:
Logged
rollie
Newbie
*

Karma: 10
Offline Offline

Posts: 16


« Reply #20 on: November 16, 2006, 18:18 »

Hi Deliguy,

Anything new on this? With all the blogs and cron jobs running it's a script that is badly needed. With it being free, I am sure it's not high on your priority list.

I would be willing to pay for something like this.

Rollie
Logged
xdhirax
Newbie
*

Karma: 10
Offline Offline

Posts: 11


« Reply #21 on: November 22, 2006, 02:49 »

Whats the "regular" way to set up a cron job?  I dont see it in the videos at all.
Anyone?
Logged

Dhira
dman
Newbie
*

Karma: 10
Offline Offline

Posts: 16


« Reply #22 on: May 06, 2007, 02:40 »

Hi,

Just found these posts. If this script is working now, please let me know where we can download the working version, and if you PM me your paypal, we will give you a donation. Its a very useful script and if its working, you should be rewarded for supplying this. Cheers - DMAN
Logged
realityblog
Newbie
*

Karma: 10
Offline Offline

Posts: 14


« Reply #23 on: September 26, 2007, 15:37 »

Has anyone been able to get this cron script to work?

I keep getting this

Running Crons...
not working
not working
Logged
InterSign
Newbie
*

Karma: 10
Offline Offline

Posts: 26


« Reply #24 on: January 19, 2008, 23:23 »

Omar - Can this "overlapping cron jobs script" become an option in the BS setting?

This is a basic function and every body need this.
Logged
CloakAndDagger
Jr. Member
**

Karma: 10
Offline Offline

Posts: 164


WWW
« Reply #25 on: March 31, 2008, 14:31 »

Question why are you using multi crons anyway ?
Logged

http://www.novasoft-inc.com/hop.asp?pid=15&aid=760 Is Blogger deleting your blogger accounts faster than you can build em?  Or try this http://www.novasoft-inc.com/hop.asp?pid=6&aid=760In Just 5 Minutes You Can Have Hundreds of Talented Writers Doing All The Work To Keep Your BLOGS Filled With The Latest News, Articles, And Information, And It Won't Cost You A Dime!
overoceans
Newbie
*

Karma: 1
Offline Offline

Posts: 25


« Reply #26 on: November 08, 2008, 02:01 »

I ran into a problem with my cronjobs overlapping. I set each cronjob to every five minutes in order to fit them all in but they started to fall behind and causing a massive build up on the server.

So i made a quick script that pulls all the cronjob commands from a text file and runs them one by one. The next script doesn't start till the one before it finishes. This seems to be working out for me and is causing a lot less pain on the server. It also makes adding cronjobs a lot easier and I can add as many domains as I'd like without ever overloading the server. Since its always running no more than one job.

If this sounds like something all you noncoders out there might be interested in getting your hands on let me know and I'll post it up.


Update

Here it is guys and gals.
Download Link: http://www.bluehatseo.com/tbs/tbscron.zip



Description: This in a sense is a concatinated cronjob script for TBS. you run one cronjob and it will first check to see if the script has finished from the last time it ran(checks the first line of crons.txt for a 0). If it is still in the process of running then it quietly exits. If it is complete then it begins, and starts one by one executing all the cronjobs you listed in crons.txt. This ensures that the script never overlaps itself, so you can technically have as many tbs domains as you would like, it would just automatically spread out the cronjobs to run less often. It also makes it a ton easier to add and edit your probably huge growing list of cronjobs. You can set the cronjob script to run as often as you'd like(i run once per hour).




#Instructions
1-open cron.cgi and crons.txt in notepad. edit the "path to crons.txt line" with your full server path to the crons.txt. Then make sure the first line in crons.txt is 0 and then list all your cronjobs on seperate lines below it. Add as many as you'd like.

2-upload cron.cgi and crons.txt to the cgi-bin on your webserver. chmod permissions on cron.cgi to 755 and crons.txt to 777.

3-put in a cronjob that runs the cron.cgi
example:
perl /var/www/mydomain.com/www/cgi-bin/cron.cgi

set the cronjob to as often as you would like(I use every hour, i wouldn't recommend any less than that).




So presumably, you would set your pings within TBS to "run pings as many times as cron would start it" after the installation of this script?
Logged
Pages: 1 [2]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!