read scheduled jobs from db