You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
655 B

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo noupdate="1">
  3. <record id="ir_cron_backup_scheduler_0" model="ir.cron">
  4. <field name="name">Backup Scheduler</field>
  5. <field name="user_id" ref="base.user_root" />
  6. <field name="interval_number">1</field>
  7. <field name="interval_type">days</field>
  8. <field name="numbercall">-1</field>
  9. <field name="nextcall" eval="(datetime.now() + timedelta(days=1)).strftime('%Y-%m-%d 03:00:00')"/>
  10. <field name="model_id" ref="model_db_backup"/>
  11. <field name="state">code</field>
  12. <field name="code">model.action_backup_all()</field>
  13. </record>
  14. </odoo>