Testing Expiration Policy

less than 1 minute read

When you add an Expiration Policy to a library in SharePoint you can only test your policy once a day. This is because SharePoint only runs the TimerJob for the expiration policy only once a day.

The TimerJob can’t be run with stsadm so the timer job has to be accessed trough the object model. For people who have problem running the expiration policy you can use my Console Application that I have created to make sure the Expiration Policy TimerJob runs when I want it too.

 

Run Expiration Policy