I want to create scheduled action which always active and it should always work in every 15 mins.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
Hi,
To create a scheduled action that runs every 15 minutes and is always active, you should modify the code as follows
<?xmlversion="1.0" encoding="UTF-8" ?>
<odoo>
<data>
<recordid="ir_cron_time_token" model="ir.cron">
<fieldname="name">Timer15mins<
<fieldname="model_id" ref="model_your_module_name"/>
<fieldname="state">code</
<fieldname="code">model._test(
<fieldname="interval_number">
<fieldname="interval_type">
<fieldname="numbercall">-1</
<fieldname="active">True</
</record>
</data>
</odoo>
Hope it helps
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Dec 21
|
13868 | ||
|
1
Jul 25
|
223 | ||
|
1
Jul 25
|
874 | ||
|
0
May 25
|
743 | ||
|
0
May 25
|
703 |