trigger my own python app whenever a dataset is updated
Posted: Thu Apr 07, 2011 3:38 pm
Hi all,
I'm looking for a way to trigger my own python function (which lives in lib/python) when a dataset is updated. That python function will search over the newly inserted images (or deleted images) and do some calculation on each image (that means the function should take input arguments for the dataset ID and (updated image ids, if possible)).
Does anyone have any idea on how to do this?
I also want to know how to trigger my function regularly such as every day or every week, if possible. In this case, it should be better to do the calculation on the updated dataset only (rather than do on every dataset in the OMERO DB).
Best,
BK
I'm looking for a way to trigger my own python function (which lives in lib/python) when a dataset is updated. That python function will search over the newly inserted images (or deleted images) and do some calculation on each image (that means the function should take input arguments for the dataset ID and (updated image ids, if possible)).
Does anyone have any idea on how to do this?
I also want to know how to trigger my function regularly such as every day or every week, if possible. In this case, it should be better to do the calculation on the updated dataset only (rather than do on every dataset in the OMERO DB).
Best,
BK