I dont recall the exact sequence of when the ondevice column is updated, that bit is Charles' bailiwick. Hopefully he'll pop in with some useful suggestions.
A generic solution to this might be to have a "job registry". Plugins can register the job there and all registered jobs are run one the on_device column is updated. Or something like that, lets wait for Charles.
|