10-22-2007, 11:38 PM
I need a Timer that counts down from 1hr, Once it gets to zero I need an event to happen (ex: output hello) then it will restart in an endless loop.
It thould be in the following format:
10-22-2007, 11:47 PM
It really depends on what the timer is linked to, what event you want to occur, and if its client or server side.
10-22-2007, 11:50 PM
yes, i want the event to happen even if nobody is on the site.
so i guess it is php
10-23-2007, 12:48 AM
I you just need something to happen once an hour, a cron job script could do this. Are you on a Linux server? If so, then you can write a PHP script and add it to your crontab to execute once an hour.
10-23-2007, 09:15 PM
Here is a good introduction to cron jobs
If you aren't on Linux or have access to cron jobs, you can have pseudo cron jobs
10-24-2007, 02:15 AM
thanks for the help, I'm gonna look into it now :-)
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.