Hello all i have a question regarding cron jobs in odoo13 . I know how to create one and I have set the cron job too for my Email Marketing module in which I Have more then 120000 email list which I want to set as a campaign. It's working fine when I set email list less then 1000. When number of email increases it's got stuck and keep moving and all odoo got stuck. Please give me your suggestions. How I can set cron job for 120000 email list.
Thanks
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
Hi,
if your CRON takes long time to execute every task or stop, then you can add logic as follow:
1) You can add cron with condition to execute slot of tasks.
Like start and end ID like first cron run then execute 1-1000 records and you can set flag as true. And next it execute more 1000. So in background, cron run every minute and check 1000 tasks to complete.
This is just idea. you can prepare some logic to execute tasks in a slot
Any Example With Code. I will try it.
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
RegistrarsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
3
sept 23
|
11755 | ||
|
2
jun 23
|
2758 | ||
|
0
dic 22
|
1834 | ||
Send Email when change state odoo13
Resuelto
|
|
1
sept 21
|
3287 | |
|
1
dic 19
|
15047 |
If you already know how to setup cron then please correct your question with actual problem