more logging, also create cron jobs based on schedules in mysql