A simple javabased time scheduler