added cron handling to installapp