log event in database for posting scheduled message