fix cronjob registration