fixes cronjob execution