Hi,
I am trying to create a custom scheduled job, following the guidance on this page: https://github.com/espocrm/documenta...heduled-job.md
After clearing cache/rebuilding, I can see the new job and add it to the scheduled list, but when it tries to run it, it fails with this error in the logs:
I have literally copied the exact code from the documentation and put it in the place it says (custom/Espo/Custom/Jobs/YourJobName.php).
Can someone tell me what else I need to do to get this to work?
I am trying to create a custom scheduled job, following the guidance on this page: https://github.com/espocrm/documenta...heduled-job.md
After clearing cache/rebuilding, I can see the new job and add it to the scheduled list, but when it tries to run it, it fails with this error in the logs:
Code:
[2021-06-04 08:46:00] ERROR: CronManager: Failed job running, job [60b9e80c42e674ae8]. Error Details: InjectableFactory: Class 'Espo\Custom\Jobs\YourJobName' does not exist. at /var/www/html/application/Espo/Core/InjectableFactory.php:88 [] []
Can someone tell me what else I need to do to get this to work?
Comment