10-23-2007, 12:38 AM
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-23-2007, 12:47 AM
It really depends on what the timer is linked to, what event you want to occur, and if its client or server side.
10-23-2007, 12:50 AM
yes, i want the event to happen even if nobody is on the site.
so i guess it is php
10-23-2007, 01: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, 10: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, 03:15 AM
thanks for the help, I'm gonna look into it now :-)
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.