Only remove cron jobs if project is removed
@@ -4030,9 +4030,6 @@ HOSTS
Djinn.log_debug(
"Removing routing for #{version_key} since no AppServer is running.")
Nginx.remove_version(version_key)
- if service_id == DEFAULT_SERVICE && version_id == DEFAULT_VERSION
- CronHelper.clear_app_crontab(project_id)
- end
HAProxy.remove_version(version_key)
else
begin
