The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




Thread: Single Cron
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 01-06-2009
cfajohnson's Avatar
cfajohnson cfajohnson is online now Forum Advisor  
Shell programmer, author
  
 

Join Date: Mar 2007
Location: Toronto, Canada
Posts: 2,315
Quote:
Originally Posted by pg300 View Post
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;
Do you think I can get away with that?

Try it and see.
Quote:
Which way do you think would be lowest concern to host?

Ask your host's system administrator.