This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

timers for weekdays

Old posts that have not been replied to for several years.
Locked
N
NewzUK
Master
Posts: 200
Joined: Mon Nov 18, 2002 3:10 am
Location: Auckland, New Zealand
Contact:

timers for weekdays

Post by NewzUK »

Hi

I run a series of timers throughout the day to put info into my channels, but some of these I only want to run Monday to Friday - is it possible with timers to do this? I know you can specify 'a' day, but not sure about a range of days...

Thanks in advance...
#Newsroom - Where News & Markets Connect
http://www.inewsroom.net
#Newsroom on irc.othernet.org
User avatar
user
 
Posts: 1452
Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway

Post by user »

You're talking about time binds, right?

I think the best solution would be to have one time bind that triggers a proc once each day and inside that proc you check to see if the other timers/binds should be running that day.
Check out http://www.tcl.tk/man/tcl8.4/TclCmd/clock.htm for info about finding what day it is.
Locked