simple job scheduler in ruby