Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
5 Odpovědi
5317 Zobrazení

There is one scheduled process in Odoo and it runs once every 4 hours. I don't want to change this. (Base Action Rule: check and execute)

I want to define a second scheduled transaction. This scheduled operation will run once a week. I want to send mail once a week with automatic process. How can I do it?


Avatar
Zrušit
Nejlepší odpověď

Hi,

You can refer to the source code to create a scheduled action that runs once a week (If you prefer a particular time to run, it can also set that). Add the code to send email in the python function.

https://github.com/odoo/odoo/blob/15.0/addons/mail/data/ir_cron_data.xml#:~:text=%3Crecord id%3D%22ir_cron_module_update_notification,%3C/record%3E

Regards

Avatar
Zrušit

Hi Friend,

How to Execute Schedule Actions every 3 seconds?

Thanks,
Tri Nanda

Nejlepší odpověď

I think this post is very helpful and full of useful information. So, I'd like to thank you for all the hard work you put into writing this article



Avatar
Zrušit
Nejlepší odpověď

How to execute Schedule Actions at a rate of once per three seconds?


Avatar
Zrušit
Nejlepší odpověď

nice

Avatar
Zrušit
Nejlepší odpověď

I have seen the link you sent, so how can I set the desired time

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
srp 25
240
1
srp 25
676
0
srp 25
409
0
čvc 25
1610
0
čvc 25
3