Creating a ditch daemon.
Updated the COSM log interval to be 60 seconds, the DB interval is 5 seconds.
I'm not sure why I had to commit that... I pretty much thought that was automatic.. but it works now anyway
I got this to Daemonize.. so, now it can run all the time I hope.
I now have the control working well.
Added a DitchMessenger class to send e-mails if the ditch clogs..
Added logic to check the ditch level against some alarm values and send e-mails if it gets too full.