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.

2 minute timer

Help for those learning Tcl or writing their own scripts.
Post Reply
User avatar
NewzNZ
Halfop
Posts: 68
Joined: Thu Mar 05, 2009 5:15 am
Contact:

2 minute timer

Post by NewzNZ »

Hi sorry for the basic question, but am trying to get a timer to run a proc every 2 mins from startup but not get messed up by .rehash. What I've tried so far isn't working:

Code: Select all

bind time - "*/2 * * * *" procname
Thanks in advance for any help!
User avatar
SpiKe^^
Owner
Posts: 831
Joined: Fri May 12, 2006 10:20 pm
Location: Tennessee, USA
Contact:

Post by SpiKe^^ »

try:

Code: Select all

bind cron - */2  procname
SpiKe^^

Get BogusTrivia 2.06.4.7 at www.mytclscripts.com
or visit the New Tcl Acrhive at www.tclarchive.org
.
User avatar
NewzNZ
Halfop
Posts: 68
Joined: Thu Mar 05, 2009 5:15 am
Contact:

Post by NewzNZ »

Great - that's working nicely...

Thanks SpiKe^^!!
Post Reply