Per Nergård
Nov 30, 2012
(0 votes)

Monitor when the EPiServer license expires

Yesterday I got some input from a friend about that they had got a license exception right before a big release.

I’ve always thought it was a bit odd that EPiServer haven’t had a some kind of warning mechanism built in so I thought about building my own.

A quick round of Google later I learned that I’ve totally missed out that in CMS 6 there are a reminder functionality built in. Read Johan Björnfots blog post about it and some additional features here.

Ok but what about CMS5? I had some spare time so I created a scheduled job that will check if todays date is bigger than the expiry date minus one month.

If so a simple mail is sent out.

Both the email recipients and another monthly value (default one) to subtract from the expiry date can be set from two different properties on the start page.

You can download code over at the code section.

I guess it would probably work for CMS 4 sites as well.

Nov 30, 2012


valdis Dec 1, 2012 12:21 AM

Nice! Will this ( be applicable to CMS5 as well?

Dec 1, 2012 10:54 AM

Hi. Yes I think that Mathias parameter thing should work for cms5. But I haven't tried it myself.

Please login to comment.
Latest blogs
Delete a content – the right way

I stumped upon this blogpost Delete content directly from the Optimizely database – Tomas Hensrud Gulla by Tomas, an OMVP. While the post is helpfu...

Quan Mai | Feb 8, 2023 | Syndicated blog

The Content Revolution - Generative AI

Hi Optimizely Community,  For the past two decades, you and Optimizely have been at the forefront of content management - creating, managing,...

Alex Atzberger | Feb 6, 2023

Delete content directly from the Optimizely database

Do you know your way around the Optimizely CMS database? Deleting, or updating, content directly in the database is pretty straightforward, but of...

Tomas Hensrud Gulla | Feb 6, 2023 | Syndicated blog

Rolling your site out to China

How to rollout your website to the China market Continue reading →

Andrew Markham | Feb 5, 2023 | Syndicated blog