Scheduling the Batch Forecast Training task
Before scheduling the Batch Forecast
Training task, you must configure the file location where the forecasting model files
are stored.
- Select Maintenance > System Administration > Job Scheduler.
-
Click Add
Schedule.
The Task page is displayed.
- Specify a descriptive name in the Task Description field.
- At the Task Type section, select Java Task, then select BatchForecastTraining from the drop-down list.
- Assign a specific scheduler to run the task in the Task Affinity field.
-
In the Scheduled Time
section, specify this information:
- Run at
- Specify the time to run the task.
- Timezone
- Select the applicable time zone using the lookup. By default, the Timezone field displays your actual local time zone. If you leave the Timezone field as the default, the Run at time will be run at the employee’s local time.
-
In the Scheduling Time
section, select one of these options:
- Once to schedule the task to run only once.
- Daily to schedule the task to run by intervals of days and minutes.
- Weekly to schedule the task to run by day of week.
- Monthly to schedule the task to run by month and by day of month.
-
If you selected Daily, use one of these options:
- Specify the number of days between runs in the Every Day(s) field.
- Specify the number of seconds between runs in the Interval Second(s) field. The system allows for a minimum of 5 seconds between runs (-1 indicates that the field is not used).
- If you selected Weekly, select the check boxes to indicate which days of the week the task will be run on.
-
If you selected Monthly, use one of these options:
- Select the Day Of option and type the day of month to indicate which date the task runs.
- Select the Of option and select the week of the month and the day of week to indicate which day the task runs. For example, you can select Second and Thursday to run the task every second Thursday of the month.
- Select the check boxes to indicate which months of the year the task runs.
- At the Blackout Period section, select None.
-
In the Scheduling Range
section, specify this information:
- Start On
- Select the date that you want the task run to begin.
- End By
- Specify the end date of the task run. Or, if the task run has an infinite end date, leave the field blank.
-
Click Submit, and click OK at the confirmation prompt.
Your batch scheduling task is added to the list of scheduled tasks in the Task Schedules page.
- For your Batch Forecast Training task, click Parameters to specify job parameters. The Schedule Settings page is displayed.
-
Specify this information:
- Location
- Select the location to train using this task. When the task runs, it trains the selected location and any of its sub-locations, departments, and drivers that have been configured to use machine learning.
- Range in Years
- Specify the number of years of historical data that is analyzed when generating models for the selected location.
- Batch Size
- Specify the number of stores for which the task can simultaneously generate models. Increasing the batch size can decrease the total time required to generate models for all the stores being trained, but requires additional CPU resources from the job scheduler server. Training a large number of stores at the same can result in reduced performance on the job scheduler, and application server if it is on the same physical server as the job scheduler. It is recommended to specify a Batch Size of 10 unless you have special requirements.
- Workmail Notification
- Select the users to be notified when the job is complete.
- Click Submit to save the task parameters and click OK to confirm.