corrected cron string generation