Scheduled Policy not terminating existing session

L0 Member

Scheduled Policy not terminating existing session

Hello everybody,


I have a PA-220 and setup a rule that my children cannot access the internet after 8pm. This is working but only for new sessions. Existing sessions like TeamSpeak or BattleNet started before 8pm are still open. Can I somehow kill also existing sessions?


Thank you

L1 Bithead

Re: Scheduled Policy not terminating existing session

This is currently a feature request.

Only new sessions will be affected by the applied security policy rule. Existing sessions are not affected by the scheduled policy.

As a workaround, to enforce the scheduled Security Policy for existing sessions, you can do either of the following:
1. Set a shorter timeout value for the application.
2. Clear the session manually.

Best Regards,
Alaa Amarin

Focused Service Engineer | Palo Alto Networks | MSc, PCNSE
Working hours: Mon-Fri 09:00 – 18:00 CET (GMT+1)
Support Numbers: EU: +31 20 808 4600, International: +1 408 738 7799
L7 Applicator

Re: Scheduled Policy not terminating existing session

whenever you commit and have 'session rematch' enabled, active sessions will be reevaluated against the current security policy


you could script an api call for a commit job after the schedule finishes, so any 'left open' sessions are killed too

session rematch.png

L0 Member

Re: Scheduled Policy not terminating existing session

Thank you!

I tried this and run a scheduled task from the server with the api key. Short after it the block is working!

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!