Per Nergård
Nov 30, 2012
  4752
(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

Comments

valdis
valdis Dec 1, 2012 12:21 AM

Nice! Will this (http://blog.mathiaskunto.com/2012/02/13/supplying-episerver-scheduled-jobs-with-parameters-through-admin-mode/) 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
Recraft's image generation with AI-Assistant for Optimizely

Recraft V3 model is outperforming all other models in the image generation space and we are happy to share: Recraft's new model is now available fo...

Luc Gosso (MVP) | Nov 8, 2024 | Syndicated blog

ExcludeDeleted(): Prevent Trashed Content from Appearing in Search Results

Introduction In Optimizely CMS, content that is moved to the trash can still appear in search results if it’s not explicitly excluded using the...

Ashish Rasal | Nov 7, 2024

CMS + CMP + Graph integration

We have just released a new package https://nuget.optimizely.com/package/?id=EPiServer.Cms.WelcomeIntegration.Graph which changes the way CMS fetch...

Bartosz Sekula | Nov 5, 2024

Block type selection doesn't work

Imagine you're trying to create a new block in a specific content area. You click the "Create" link, expecting to see a CMS modal with a list of...

Damian Smutek | Nov 4, 2024 | Syndicated blog

.NET 8 FAQ

I have previously written about .NET compatibility in general and .NET 8 in particular, see blog posts here , here and here . With the end of suppo...

Magnus Rahl | Nov 4, 2024

Dynamic packages in Commerce Connect

In Optimizely Commerce Connect, you can group different items using packages and bundles. Package: A package has one or more versions of a product...

K Khan | Nov 1, 2024