Jump to content

[Help] Is there alternative in Cron Jobs ?


MrGarcia

Recommended Posts

 

Hello there..

my webhost doesn't have Cron Jobs feature..

is there any alternative php script in able to run my php script every minute ??

i have a website containing mafia game.. it's coded in php.. 

i tried to use

 

 

<META HTTP-EQUIV="Refresh" CONTENT="60; URL=http://test.com/run_minute.php">

but this will work only if the user is in the existing page where this code placed..

 

 

i want it something like, the http://test.com/run_minute.php will refresh every minute.. even thou the user is not on the page..

 

 

Thank you.

More power..

 

Link to comment
https://forums.phpfreaks.com/topic/211879-help-is-there-alternative-in-cron-jobs/
Share on other sites

No there isn't.  But if you save the time when the page is accessed, then the next time it is accessed you can calculate how many minutes it has been and run your script and update that many minutes.  Not sure what your script is doing, but that may be a way.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.