Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3938472
Time.tcl
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
904 B
Referenced Files
None
Subscribers
None
Time.tcl
View Options
#utimer 90 onload
bind
cron
-
"* * * * *"
cron:minute
bind
cron
-
"*/5 * * * *"
cron:often
bind
cron
-
"0 * * * *"
cron:hourly
bind
cron
-
"0 4 * * *"
cron:daily
proc
onload
{}
{
#This proc, called on startup, causes the eggdrop
#to die on "unloadmodule server"
#.tcl onload manually will work
#Drops IRC support
unloadmodule
irc
unloadmodule
ctcp
unloadmodule
channels
unloadmodule
server
#Links to Nasqueron
link
Nasqueron
}
#Every minute
proc
cron:minute
{
minute
hour day month weekday
}
{
}
#Every 5 minutes
proc
cron:often
{
minute
hour day month weekday
}
{
#Reconnects to sql, sql2
sqlrehash
#Sends a dummy command to keep sql7 alive
if
[catch
{
sql7
"SELECT 666;
}] {
putcmdlog "
Warning: not connected to sql7
-
mysql won
'
t work.
"
}
}
#Every hour
proc cron:hourly {minute hour day month weekday} {
}
#Every day, at 4am
proc cron:daily {minute hour day month weekday} {
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 26, 02:24 (5 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2314133
Default Alt Text
Time.tcl (904 B)
Attached To
Mode
rVIPERSERV ViperServ scripts [legacy Mercurial repo]
Attached
Detach File
Event Timeline
Log In to Comment