A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Per Nergård (MVP)
Nov 30, 2012
  5178
(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?

Per Nergård (MVP)
Per Nergård (MVP) 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
ScheduledJob for getting overview of site content usage

In one of my current project which we are going to upgrade from Optimizely 11 I needed to get an overview of the content and which content types we...

Per Nergård (MVP) | Jan 27, 2026

A day in the life of an Optimizely OMVP: Migrating an Optimizely CMS Extension from CMS 12 to CMS 13: A Developer's Guide

With Optimizely CMS 13 now available in preview, extension developers need to understand what changes are required to make their packages compatibl...

Graham Carr | Jan 26, 2026

An “empty” Optimizely CMS 13 (preview) site on .NET 10

Optimizely CMS 13 is currently available as a preview. If you want a clean sandbox on .NET 10, the fastest path today is to scaffold a CMS 12 “empt...

Pär Wissmark | Jan 26, 2026 |

Building AI-Powered Tools with Optimizely Opal - A Step-by-Step Guide

Learn how to build and integrate custom tools with Optimizely Opal using the Opal Tools SDK. This tutorial walks through creating tools, handling...

Michał Mitas | Jan 26, 2026 |