Jump to content


Photo

Timed Scripts


  • Please log in to reply
2 replies to this topic

#1 ghgarcia

ghgarcia
  • Members
  • PipPipPip
  • Advanced Member
  • 53 posts
  • LocationFlorida

Posted 23 August 2006 - 07:02 PM

I know this is a perfect job for cron however my ISP doesn't want to allow cron operations. So now to my problem. I would like to execute a script xxxx.php every xx number of minutes. I've tried embedding the script as a refresh function in an html form however this doesn't work all the time since I already use this operation to display a database table created by the script I want to execute. Is there a way I can create a script to do what I just explained.

Any help would be greatly appreciated.

George
George

#2 ober

ober
  • Staff Alumni
  • Advanced Member
  • 5,337 posts
  • LocationEast Coast, USA

Posted 23 August 2006 - 08:22 PM

Without a cron job, not really.  The only other way would be to open a browser on a computer and leave it open, using a Javascript snippet to either reload the page every x minutes or call an AJAX script.

Info: PHP Manual


#3 jvalarta

jvalarta
  • Members
  • PipPipPip
  • Advanced Member
  • 42 posts

Posted 23 August 2006 - 08:48 PM

How about a cron on ANOTHER server, and execute via a full URL?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users