we need a cronjob that should only be executed once per day at the same time:
<record forcecreate="True" id="cron_create_dailydone" model="ir.cron">
<field name="name">DailyCreates</field>
<field eval="True" name="active" />
<field name="user_id" ref="base.user_root"/>
<field name="interval_number">1</field>
<field name="interval_type">days</field>
<field name="numbercall">-1</field>
<field name="doall" eval="False"/>
<field name="model_id" ref="model_x_dummy_dummy"/>
<field name="code">model.cron_create_dailies()</field>
<field name="args">()</field>
<field name="state">code</field>
<field name="active">True</field>
<field name="nextcall" >2018-11-01 03:10:59</field>
</record>
When Odoo was shut down and restarts after longer Downtime this Cronjob will be triggered.
I thought doall = False would prevent this.
we do not want that this job runs after starting odoo. It should only run at 3:10 each day.
If odoo is down at this time the cronjob should not be executed later.
can this be achieved with cron-settings? Or do i have to check this within python-logic of the cronjob?