Hey guys, i have a dumb question

I have a dumb question.......  If i use this kind of cron job below

* * * * * /usr/bin/php -q /home/xxxxx/public_html/xxxx/periodic/cron.php

Does this make my CPU extremely high?  I know what those stars for (every sec, min, hr, day) but will it reduce CPU a lot by change it to something like **1*  ??  Sorry I should have known this a long time ago.

Thanks

Quote · 30 Jan 2010

It should not. The cron job will do a quick scan to see if anything is queued in the database for processing. If nothing is there, then it exits. It takes less than a minute.

Your CPU will jump when it finds something queued to do. Processing videos will be the one that puts the most strain on the CPU.

https://www.deanbassett.com
Quote · 30 Jan 2010

Hmmm okay i got an email from one hosting company saying that there is something wrong with my mysql or flash that keeps looping. It doesn't stop. They suspended my account because of it.  I'm trying to get boonex to help me but they are so busy right now.  I can't afford the wait.  :(

Quote · 30 Jan 2010

Some providers don't like cron jobs running every minute. You could try bumping it to once every 5 minutes.

But keep in mind, the longer between cron runs, the longer your members will have to wait for uploaded videos or recorded comments to process and become available.

I know i said less than a minute in my last post. Thats a bit vague. It's more like a few seconds. Of course i can't be exact.

https://www.deanbassett.com
Quote · 30 Jan 2010

I understand now. I can try every 5 mins and see how that goes.  I think it's the best solution for now til i find a good dedicated server. I really hope cron job is the only problem.... not mysql or others. I'm waiting to hear from my provider.  Thanks deano!  I appreicate it!

Quote · 30 Jan 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.