<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
    <record model="ir.cron" id="check_attendance_cron">
        <field name="name">Check Attendance</field>
        <field name="interval_number">1</field>
        <field name="interval_type">hours</field>
        <field name="numbercall">-1</field>
        <field
            name="nextcall"
            eval="(DateTime.now() + timedelta(minutes=60)).strftime('%Y-%m-%d %H:05:00')"
        />
        <field name="doall" eval="True" />
        <field name="model_id" ref="hr_attendance.model_hr_attendance" />
        <field name="state">code</field>
        <field name="code">
            model.check_for_incomplete_attendances()
        </field>
    </record>
</odoo>
