<?xml version="1.0" encoding="utf-8"?>
<odoo noupdate="1">
    <record model="ir.cron" id="module_check_upgrades_cron">
        <field name="name">Perform Module Upgrades</field>
        <field name="active" eval="True"/>
        <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="nextcall" eval="(DateTime.now() + timedelta(days= +1)).strftime('%Y-%m-%d 3:00:00')"/>
        <field name="model">base.module.upgrade</field>
        <field name="function">upgrade_module</field>
        <field name="args" eval="'()'"/>
    </record>
</odoo>