Perform An Action Based on Day of Week

Problem this snippet solves:

This code will allow a specific action to be performed only if the Day of Week condition matches. (Friday, in this example).

How to use this snippet:

Apply this iRule to an HTTP Enabled Virtual Server to have a 1 in 20 chance to present a "Sorry" page to the user.

Code :


Tested this on version:

Published Jun 02, 2017
Version 1.0

Was this article helpful?