Forum Discussion
Ndlovumm
Nov 09, 2022Cirrus
Script to make a resource to be available on certain times of weekdays
Hi Guys I need help with a script to make a resource to be available on certain times of weekdays and not be accessible outside of those times. The resource can be an application or a web service ho...
Daniel_Wolf
Nov 09, 2022MVP
Hi Ndlovumm,
this can be achieved by iRules. Take a look at this example: Time based iRule example.
You can start from this example and build an iRule that would check for the time and/or day and just reject traffic or send a HTTP response page saying something like "Sorry, application not available right now."
If you are not familiar with iRules, feel free to ask for further assistance.
KR
Daniel
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects