![]() |
|
|
google unix.com
|
|||||||
| Forums | Casino | Register | Forum Rules | Links | Albums | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| cron job starts new cron proccess | ron76 | SUN Solaris | 3 | 05-12-2008 01:07 AM |
| Cron and Pseudo-Cron | dingusmcghee | UNIX for Dummies Questions & Answers | 1 | 01-31-2008 11:58 AM |
| CRON usage for CRON job | skyineyes | UNIX for Dummies Questions & Answers | 1 | 01-17-2008 09:17 AM |
| AIX and cron logs filtering ?: /etc/cronlog.conf, /var/adm/cron/log | Keith Johnson | AIX | 0 | 01-09-2008 07:32 PM |
| Cron : you are not authorized to use cron. Sorry. | tt155 | UNIX for Advanced & Expert Users | 1 | 07-06-2005 10:37 AM |
![]() |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|||
|
Single Cron
Hi there everyone. So my host doesn't allow crons more then every 15 minutes I need to do every 10 minutes.
So i was thinking of using sleep. Would this count as a single cron?: Code:
php -qf /home/blah.php; sleep 600; php -qf /home/blah.php; My other idea was to make blah.php handle it: Increase the timeout limit to 10 minutes. Then run it once sleep 10 minutes then call the function again then end. Which way do you think would be lowest concern to host? |
| Sponsored Links |
|
|||
|
A cron can only run once every 15 minutes. So you can have multiple crons, each individual one can not run more often then once every 15minutes. I would also suggest staggering the times that they run.
*/15 * * * * */15+2 * * * * */15+4 * * * * At least I think that works >_< |
|
|||
|
Hey that's a good idea. Thanks man ill try that. I used to do ******* but got contacted by host saying dont do every minute. I just want to do something that they dont care about. What do you think of my one cron just put in sleep 60 between each php call?
|
|||
| Google The UNIX and Linux Forums |