Jump to content

[SOLVED] timers


grlayouts

Recommended Posts

ok I have my own RPG which runs in rounds of 30 days.

 

What I need is a timer that counts up to the 30day mark in cycles of 15mins.

 

ie. 1/2880

 

when it gets to cycles 2880/2880 i need it to run a php file with all the reset details which i run manually myself now.

 

any idea's?

Link to comment
Share on other sites

Your better off setting up a cron job.

That could not be 100% secure, meaning there could be other issues.  Even then, that time would have to somehow be ran.

You can do the calculations easy enough, but a cron job (which would simply be telling the server to run that specific php script at whatever time period) would be a lot more reliable, and a lot faster.

That's what I would suggest.  What webhost do you use, what plan do you have, check and see if they support cron jobs, if not there are some other alternatives you can look into.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.