generate scheduled cron string