pfsense-api icon indicating copy to clipboard operation
pfsense-api copied to clipboard

launch a pfsense cron job from pfsense-api

Open Mrdindon opened this issue 3 years ago • 0 comments

Is your feature request related to existing pfSense functionality that is missing from the API? Please describe. Well yes and no. Cron package is available in Pfsense but is not installed by default.

Is your feature request related to a problem? Please describe. I'm using Pfsense-api to enable/disable firewall rules on-demand. When a blocking firewall rule is enabled, established links wont get blocked until reset state is triggered but doing so will reset all states. having a cron job setup with the ip range matching the blocking rule I could run pfctl -k xxx.xxx.xxx.xxx once the rule is enabled and only kill the specific states related to it.

Describe the solution you'd like somehow allow to manually start a specific cron job from pfsense-api.

Describe alternatives you've considered I have no idea !

Additional context Add any other context or screenshots about the feature request here.

Mrdindon avatar May 17 '22 12:05 Mrdindon