Fixes for schedule fetching & fixes an issue with % in cron