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.
Old posts that have not been replied to for several years.
-
s
sonic_tsunami
Post
by sonic_tsunami »
I wanna know how you make a timer and to make it execute an external program at a certain time (like every 60 minutes)
Last edited by sonic_tsunami on Sun Jul 28, 2002 9:13 pm, edited 1 time in total.
-
s
sonic_tsunami
Post
by sonic_tsunami »
can someone please help me asap?
-
Papillon
- Owner
- Posts: 724
- Joined: Fri Feb 15, 2002 8:00 pm
- Location: *.no
Post
by Papillon »
have u tried using a bind?
Code: Select all
bind time - "00 * * * *" some_proc
proc some_proc {min hour day month year} {
blablabla....
}
This executes a proc every 60 mins...
Elen sila lúmenn' omentielvo
-
s
sonic_tsunami
Post
by sonic_tsunami »
well I'm ignorant to tcl :/
should it be like this?:
Code: Select all
stats="/path/to/stats/"
config="/path/to/config/"
bind time - "00 * * * *" some_proc
proc some_proc {min hour day month year} {
$stats channel.log $config
}
I'm making a script that will use irc stats (the free linux equivalent of mircSTATS)
-
guppy
- eggdrop engineer
- Posts: 199
- Joined: Mon Sep 24, 2001 8:00 pm
- Location: Canada
-
Contact:
Post
by guppy »
Making eggdrop run the program is silly for all kinds of reasons. Use pisg and use crontab to automate it.
Jeff
-
s
sonic_tsunami
Post
by sonic_tsunami »
I cannot run crond on my host, if I could, I wouldnt be here.
-
s
sonic_tsunami
Post
by sonic_tsunami »
nevermind, I found a script that does exactly what I want
ircstats.tcl