bind cron - {*/15 * * * *} cron:cycle
proc cron:cycle {minute hour day month weekday} {
channel set #channel +inactive
channel set #channel -inactive
}
Or if you wish to have it running in multiple channels by simplifying set/unset ('.chanset #channel +croncycle' to activate and '.chanset #channel -croncycle' to deactivate to disable it) a flag to the channel ('croncycle' in this case, but can be changed to whatever you wish as long as isn't used already) info then something like: