[api] introduce clockwork to replace cron dependency

clockwork can run jobs more often than one minute, already runs
as same user and has the ruby stack already loaded, so it takes
way less resources all in all