increase frequency of cron jobs

Help for integrating the Laravel package
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!
User avatar
whatdaro
Posts: 42
Joined: 19 May 2021, 17:48

increase frequency of cron jobs

Post by whatdaro » 06 Mar 2022, 06:45

Laravel: 6.20.42
Aiemos: 2021.10.4
PHP: 7.4.12
Linux/MariaDB

I would like to know how to increase the frequency of the cronjobs from 1 min to be near instant.
Specially for registration, order confirm and invoice emails to users.
If possible to not use cron to initiate, is it possible to use mail service instead, thanks.

User avatar
aimeos
Administrator
Posts: 7926
Joined: 01 Jan 1970, 00:00

Re: increase frequency of cron jobs

Post by aimeos » 08 Mar 2022, 06:59

You can't execute cronjobs every second, every minute is the smallest value.
We also avoid sending e-mails immediately because of two reasons:
- E-Mail can be sent several times if the user hits the reload button
- Avoid any additional load in the frontend so Aimeos is able to scale
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply