Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Script to make a resource to be available on certain times of weekdays

Ndlovumm
Cirrus
Cirrus

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 hosted on the F5. Is this doable on the BIP-IP?

Thanks in advance,

1 REPLY 1

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