Page MenuHomeDevCentral

Time.tcl
No OneTemporary

Time.tcl

utimer 8 onload
bind cron - "* * * * *" cron:minute
bind cron - "*/5 * * * *" cron:often
bind cron - "0 * * * *" cron:hourly
bind cron - "0 4 * * *" cron:daily
proc onload {} {
}
#Every minute
proc cron:minute {minute hour day month weekday} {
}
#Every 5 minutes
proc cron:often {minute hour day month weekday} {
sqlrehash
# regenerate_gerrit_index
}
#Every hour
proc cron:hourly {minute hour day month weekday} {
}
#Every day, at 4am
proc cron:daily {minute hour day month weekday} {
}
proc regenerate_gerrit_index {} {
global env
exec -- $env(HOME)/bin/update-gerrit-activity-feeds
}

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 26, 01:54 (6 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2314117
Default Alt Text
Time.tcl (595 B)

Event Timeline