adds a cron job and a correction on the patch tmp file rm