Cron line generation for upgrading