Hi,
      I had asked a question related to cron jobs in a different thread. 
 We had discussed a different issue in that thread.  I would still like to 
know how to set up a cron trigger.  I do the following in the xml file. 
 The function myfunc doesn't get called. 

 <record model="ir.cron" id="cron_trigger_time">
            <field name="name">Foo bar sync</field>
            <field name="request_user" ref="res.user_admin"/>
            <field name="user" ref="res.user_trigger"/>
            <field name="active" eval="True"/>
            <field name="interval_number">60</field>
            <field name="interval_type">minutes</field>
            <field name="number_calls">-1</field>
            <field name="repeat_missed" eval="False"/>
            <field name="model">foo.bar</field>
            <field name="function"> myfunc </field>  // This function needs 
to be called      
            <field name="args">'arg1','arg2'</field>     
        </record>


Is there anything else that needs to be done to get this working? Perhaps a 
cron daemon needs to be started?
Is there any example code that calls a function every few minutes?


Reply via email to