Is there any service or job schedule that called every minute to execute expired content? I want to override that service.
Any answer would be appreciated. Thanks
Is there any service or job schedule that called every minute to execute expired content? I want to override that service.
Any answer would be appreciated. Thanks
On
thanks for answering my question. I was thought EXPIRE_UNEXPIRE_DOC_BY_NAME is the only one service to expire the content. But this service only triggered when we click the button to force expire the content. And I finally got my own question. There is a job schedule which called every minute, also the javaMethod to expire the content. The service is PROCESS_STATIC_RENDITION_JOBS in ziprenditionmanagement_service.htm. Note that we can only edit this service directly, but cannot override the service outside this component.
I am guessing you somehow would like to prevent the expiration of certain content items. There is a service, EXPIRE_UNEXPIRE_DOC_BY_NAME, used to expire (and unexpire) content (I am not sure if this service is always used):
You could hook into the above service and override its functionality.
The following service lists expiring and expired items. GET_EXPIRED:
There is also a ScheduledEvent, EnableExpirationNotifier, which will send an email listing content items which are about to expire. You could hook into this event and do something with the items it returns.