create_firewall_schedule
Create a pfSense firewall schedule with an initial time range, supporting weekly, monthly, or yearly recurrence. Apply changes immediately.
Instructions
Create a firewall schedule with an initial time range.
The pfSense API requires at least one time range at creation. Use create_schedule_time_range to add further ranges afterwards.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| day | No | Days of month pairing with `month` (e.g., month=[12], day=[25] for every Dec 25) | |
| hour | Yes | Start/end time for the initial time range in 24-hour format (e.g., "8:00-17:00") | |
| name | Yes | Schedule name (alphanumeric and underscores only) | |
| descr | No | Optional description | |
| month | No | Months (1-12) for specific calendar dates; each entry pairs with the same-index `day` entry | |
| position | No | Days of week for a weekly-recurring range (1=Monday ... 7=Sunday, e.g., [1,2,3,4,5]). Required unless month/day are given. | |
| rangedescr | No | Description for the initial time range | |
| schedlabel | No | Optional schedule label | |
| apply_immediately | No | Whether to apply changes immediately |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||