PDA

View Full Version : Requesting a hack that can reset a timer each day


Dolamite
10-29-2002, 03:20 PM
We have a java-based timer on our clan board. telling people when to meet in the irc. that has to be reset manually everyday...

we set it to the same time each day, but just change the date 1 day ahead....

is there an easy way to implement an auto-resetting of this?

i suppose your going to need the code....

<APPLET height=30 alt="Countdown Clock" width=160 code="jmc.class">

<PARAM NAME="target" VALUE="29 Oct 2002 18:00:00 GMT">

<PARAM NAME="endImage" VALUE="endImage.jpg">
<PARAM NAME="bgImage" VALUE="bgImage.jpg">
You need Java to see this applet!</APPLET>

i'd appreciate any help :rambo:

Dolamite
10-30-2002, 01:57 AM
oh there are some cab files too... that the java uses...

Logician
10-30-2002, 10:23 AM
requires a cron job.. do you have one?

Dolamite
10-30-2002, 11:04 PM
i dont understand....

Dolamite
11-02-2002, 08:56 PM
maybe polish my knob?

NTLDR
11-02-2002, 09:20 PM
Check with your host to see if you have a "Cron Tab" ;)

MUG
11-02-2002, 09:59 PM
Actually, it could easily be done without crontab...

Dolamite, what do you want it to do when the time is 18:00? Should it go to the next day (while the chat is in progress) or stay at that time until 19:00?