Add cron-job and adjust config only if cloned successfully