View Single Post
Old 06-08-2011, 10:36 AM   #12
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,463
Karma: 27757440
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I'm a little confused. I am making the following assumptions about your code:

1) You have implemented update collections as a DeviceJob i.e. an object of class DeviceJob

2) The BookSync code is also implemented as a DeviceJob.

3) The BookSync auto collections code first schedules a sync and then schedules a collections update job

In this case calibre will first run the sync and only after it is completed will it run the collections job.
kovidgoyal is offline   Reply With Quote