Error cron on once a day jobs
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Error cron on once a day jobs
got an error message on cron daily jobs. What may be the cause?
- Attachments
-
- image_2022-06-19_121335928.png (16.36 KiB) Viewed 477 times
Re: Error cron on once a day jobs
You have several Aimeos sites in your database and execute the index/rebuild job for all sites. That is done in several parallel processes and can cause transaction problems. Add the site code you want to execute the jobs for at the end of the cronjob command, e.g.:
Code: Select all
0 1 * * * php /path/to/artisan aimeos:jobs "index/rebuild" default
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star