• Event Manager

    From apam@21:1/182 to All on Mon Jun 7 14:34:28 2021
    Hi

    I've just added a very basic event manager into Servo.. it uses data/events.toml like this

    [[event]]
    name = "My Event"
    interval = 15
    exec = "/home/bbs/somecommand.sh"


    It's pretty self explanitary.. this will run an event every 15 minutes..

    You can have as many as you want..

    interval is just in minutes and is counted from when you start servo...
    so after 15 minutes of running servo it will fire the event, then in
    another 15 minutes ... etc.

    Is there anything in more detail you'd like in an event manager? It would
    be nice to have a file watcher too perhaps, so events can be triggered by semaphores..

    Andrew

    --
    |03Andrew Pamment |08(|11apam|08)
    |13Happy|10Land |14v2.0|08!|07


    --- Talisman v0.23-dev (Linux/x86_64)
    * Origin: HappyLand v2.0 - telnet://happylandbbs.com:11892/ (21:1/182)