fix cronjob registration
Merge pull request #670 from markusj/fix-cronjob-registration

fix cronjob registration