Creating a Schedule
Follow these steps to create a schedule.
- Create the job or pipeline you intend to schedule.
- Ensure that you have created the necessary policies, authentication, and authorization for the resource you want to schedule.
- Use the Console to sign in to a tenancy with the appropriate Policies.
- Open the navigation menu and click Analytics & AI.
- Under Machine Learning, click Data Science.
-
Select the compartment that contains the project you want to work in.
All projects in the compartment are listed.
-
Click the name of the project.
The project details page opens and lists the notebook sessions.
-
Under Resources, click Schedules.
A tabular list of schedules in the project is displayed.
-
Click Create schedule.
The Basic information page is displayed.
- Enter a Schedule name (no more than 255 characters).
- (Optional) Enter a Description.
- (Optional) Select a different Compartment.
- (Optional)
To add a tag, click Show advanced options.
- Select a Tag namespace.
- Enter a Tag key.
- Enter a Tag value.
-
Click Next.
The Target information page is displayed.
- Select a Target resource type.
- (Optional)
If you selected Create ML job run in step 13:
- Select a Compartment.
- Select a Job.
- (Optional) Click View job run. The job run is opened in a new browser tab.
- (Optional) Click Configure job run. Update the
job run as appropriate:
- Select a Compartment.
- Enter a Name.
- Enter a Customer environment key.
- Enter a Value.
- To add another environment key, click +Additional custom environment key.
- Enter a Command line arguments.
- Enter the Maximum runtime (in minutes from 5 to 43,000).
- Click Select to return to the Target information page.
-
If you selected Create ML pipeline run in step 13:
- Select a Compartment.
- Select a Pipeline.
- (Optional) Click View pipeline run. The pipeline run is opened in a new browser tab.
- (Optional) Click Configure pipeline run. Update
the pipeline run as appropriate:
- Select a Compartment.
- Enter a Name.
- Enter a Customer environment key.
- Enter a Value.
- To add another environment key, click +Additional custom environment key.
- Enter a Command line arguments.
- Enter the Maximum runtime (in minutes from 5 to 43,000).
- Click Select to return to the Target information page.
-
Click Next.
The Schedule page is displayed.
-
Select how to Specify schedule from:
- Form interface
- iCal Expression
- Cron Expression
- (Optional)
If you selected Form interface in step 17:
- Select the Frequency. Pick Daily if the frequency is several days, or pick Hourly if the frequency is several hours.
- Enter how often to Repeat the schedule. Type the number of hours interval or days interval between scheduled runs.
- Select when to Begin the schedule:
- Immediately - the first run start immediately after creating the schedule.
- Randomly - the system selects a random start time between creating the schedule and the first half interval. For example, for an interval of four hours, the schedule begins within two hours after the schedule is created.
- Specifically - Select a specific start date and time (in the future) and a specific date and time to end the schedule.
- (Optional)
If you selected iCal Expression in step 17:
- Enter a valid iCal expression. Note
The minimum time interval that's supported is one hour. - Enter the End date and time of the schedule.
- Enter a valid iCal expression.
- (Optional)
If you selected Cron Expression in step 17:
- Enter a valid Cron expression. Note
The minimum time interval that's supported is one hour. - Enter the End date and time of the schedule.
- Enter a valid Cron expression.
-
Click Next.
The Review and create page is displayed.
- (Optional) Select Activate schedule on creation to activate the schedule when it's created.
- Click Create schedule.
Use the create command and required parameters to create a schedule:
Commandoci data-science schedule create [OPTIONS]
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the CreateSchedule operation to create a schedule.