This topic describes how to import, configure, and modify a custom calendar for a XXL-JOB instance.
If you require jobs to run only on specific days, such as weekdays or trading days, or if you need to stop job scheduling during major promotion activities, you can use the custom calendar feature. This feature allows you to schedule jobs on specified dates to meet your business requirements.
Procedure
Import a custom calendar
Log on to Alibaba Cloud OpenAPI Explorer and import the calendar based on the displayed fields.

Configure the calendar
After the custom calendar is imported, log on to the XXL-JOB console, select a region from the top navigation bar, and then access the specified XXL-JOB instance.
Click Task Management from the left-side navigation pane.
In the Edit Task panel, click Advanced Configuration in the Timing Configuration step. In the Calendar section, click Specify Calendar and select the imported calendar.

Modify the calendar
To update the calendar, re-import it. If the imported calendar has the same name as an existing calendar, the imported calendar will overwrite the existing calendar.