Testing Expiration Policy

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

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.