1 min crons...

garrettroyce

Community Support
Community Support
Messages
5,609
Reaction score
250
Points
63
No, unless you are on paid. 5 minutes is the minimum for free accounts. Why do you need such a quick interval? There are ways to simulate this without being so resource intensive.
 
Last edited:

cjholderplayer

New Member
Messages
11
Reaction score
0
Points
0
I am running a RPG :) This needs the 1 minute cron for the energy bar, brave bar, Jail and Hosp time ... Ect ... but i could find a script to do it without crons but may take a while ..
 
Last edited:

garrettroyce

Community Support
Community Support
Messages
5,609
Reaction score
250
Points
63
All you would need to do is put a iframe at the bottom of the page for the game and have it load your cron script.

On your page:
Code:
<IFrame Src="path/to/cron.php" Scrolling=No Frameborder=0
Marginheight=0 Marginwidth=0 Width=1 Height=1 />

Make sure cron.php will print out the follow at it's completion:
Code:
<Meta Http-equiv="Refresh" Content="5  />

Replacing path/to/cron.php with your real path and content="5" with how many seconds until the refresh.

Modified from the code here: http://www.frontpagewebmaster.com/m-116141/tm.htm
 

garrettroyce

Community Support
Community Support
Messages
5,609
Reaction score
250
Points
63
Yeah, no problem. I can't join right now, I'm supposed to be working on my own project and I get distracted too easily :biggrin:
 

cjholderplayer

New Member
Messages
11
Reaction score
0
Points
0
:lol: What project is that? :) And no problem ... I only started the game yesterday :p My friend and i are still thinking of crime ideas and Items ect ..
 

Sharky

Community Paragon
Community Support
Messages
4,399
Reaction score
94
Points
48
Just be aware if you end up using mega-resources on every run of the script, it'll suspend you for excessive resource use. Just FYI.
 
Top