Articles


Run OpenERP's ir.cron from command-line

Here is a simple Python script to trigger an ir.cron job from the command-line system.

I created this to let my customer use his proprietary job scheduler to trigger OpenERP tasks. It was tested on OpenERP 6.1.

#!/usr/bin/python

import datetime
import xmlrpclib
import traceback
import sys ...


Tale of Two: production notes

This is the fourth video I've work on for Omashay:

This video is a timelapse of a painting Tomasito made in 2007. It's based on a series of photos he took every 10 minutes:

slowmoVideo

I tried to produce a timelapse out of these images a year ago ...


libvirt commands

List system virtual machines:

$ virsh -c qemu:///system list --all

List session VMs:

$ virsh -c qemu:///session list --all

Dump a VM configuration to XML file:

$ virsh -c qemu:///system dumpxml vm-name > vm-name-conf.xml

Create a new VM by importing its XML configuration:

$ virsh -c qemu:///system define vm-name-conf.xml