Configuring a Scheduling Calendar
- You can configure a scheduling calendar and specify the working days for scheduling a job.
- After creating a scheduling calendar, you can go to the DataArts Factory console, open a job, click Scheduling Setup, select Run periodically for Scheduling Type, and select the calendar you have created for Scheduling Calendar. A dry run is performed beyond the calendar, and the job is executed normally within the calendar range.
If the scheduling calendar function is used, the system checks whether the planned execution time of a job instance is a working day during data job scheduling or patching.
- If the planned execution time of the instance is a working day in the calendar, the instance is executed normally.
- If the planned execution time of the instance is not a working day in the calendar, a dry run is performed.
Constraints
This function is available for batch processing jobs but not for real-time processing jobs.
Procedure
- Log in to the DataArts Studio console by following the instructions in Accessing the DataArts Studio Instance Console.
- On the DataArts Studio console, locate a workspace and click DataArts Factory.
- In the left navigation pane, choose Configuration > Configure.
- Choose Scheduling Calendars.
- Click Add. The Create Scheduling Calendar dialog box is displayed.
Figure 1 Create Scheduling Calendar dialog box
- Set parameters for the scheduling calendar.
Set Calendar Name, Default Working Days, and Description.
You can select Mon to Fri or Mon to Sun for Default Working Days. By default, Mon to Fri is selected.
- Click OK.
After creating the calendar, you can use it for jobs. Go to the DataArts Factory console, open a job, click Scheduling Setup, select Run periodically for Scheduling Type, and select the calendar you have created for Scheduling Calendar. A dry run is performed beyond the calendar, and the job is executed normally within the calendar range.
More Operations
- Modify a calendar: Click Modify in the Operation column.
- Batch Select: Select all Mondays to Fridays of the current month.
- Invert Selection: Select all non-working days.
- Clear: Clear selected working days.
Figure 2 Modifying a scheduling calendar
- Delete a calendar: Click Delete in the Operation column.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot