<?xml version="1.0" ?>
<openerp>
    <data noupdate="1">

    <!-- Cron -->

        <record model="ir.cron" id="ir_cron_marketing_campaign_every_hour">
            <field name="name">Marketing Campaign: Campaign workitems processing</field>
            <field name="interval_number">1</field>
            <field name="interval_type">hours</field>
            <field name="numbercall">-1</field>
            <field name="doall" eval="False"/>
            <field name="model" eval="'marketing.campaign.workitem'"/>
            <field name="function" eval="'process_all'"/>
            <field name="args" eval="'()'"/>
        </record>

        <record model="ir.cron" id="ir_cron_marketing_campaign_every_day">
            <field name="name">Marketing Campaign: Segment Sync</field>
            <field name="interval_number">1</field>
            <field name="interval_type">days</field><!-- it s every day -->
            <field name="numbercall">-1</field>
            <field name="doall" eval="False"/>
            <field name="model" eval="'marketing.campaign.segment'"/>
            <field name="function" eval="'process_segment'"/>
            <field name="args" eval="'()'"/>
        </record>

    </data>
</openerp>
