There is a condition where awkbot is not connected to IRC where netcat still hangs around. This can probably be trumped by awkbot sending a PING to the server in a regular interval. But, this would require some kind of scheduling component to be added to the infrastructure.
A scheduler could simply make a fifo, spawn a selector on the fifo, and queue up shell scripts with system() in the background that just sleep N && echo component message_back >> fifo. This would spawn a process per interval, but that'd probably be sufficient.
There is a condition where awkbot is not connected to IRC where netcat still hangs around. This can probably be trumped by awkbot sending a
PINGto the server in a regular interval. But, this would require some kind of scheduling component to be added to the infrastructure.A scheduler could simply make a fifo, spawn a selector on the fifo, and queue up shell scripts with
system()in the background that justsleep N && echo component message_back >> fifo. This would spawn a process per interval, but that'd probably be sufficient.