mirror of
https://github.com/odoo/runbot.git
synced 2025-03-27 13:25:47 +07:00
[FIX] runbot: create ir.cron record in noupdate mode
Should let us restart an instance with -u runbot even when another runbot worker is executing the cron job (locking it in the database).
This commit is contained in:
parent
a0f8d18586
commit
578c379779
@ -646,7 +646,9 @@ http {
|
|||||||
</g>
|
</g>
|
||||||
</svg>
|
</svg>
|
||||||
</template>
|
</template>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
<data noupdate="1">
|
||||||
<!-- Cron -->
|
<!-- Cron -->
|
||||||
<record model="ir.cron" id="repo_cron">
|
<record model="ir.cron" id="repo_cron">
|
||||||
<field name='name'>Runbot Cron</field>
|
<field name='name'>Runbot Cron</field>
|
||||||
@ -658,6 +660,6 @@ http {
|
|||||||
<field name="function">cron</field>
|
<field name="function">cron</field>
|
||||||
<field name="args">()</field>
|
<field name="args">()</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
</data>
|
</data>
|
||||||
|
|
||||||
</openerp>
|
</openerp>
|
||||||
|
Loading…
Reference in New Issue
Block a user