Jobs and Schedules
The Jobs API allows you to view jobs and their run histories, configure their schedules, and control them directly.
In the Fusion UI, jobs are accessible in the Search context, while schedules are in the DevOps context.
-
A job is a runnable Fusion object.
Datasources, Spark jobs, and tasks are all jobs.
-
A schedule defines when Fusion will perform a job.
A job can be scheduled using cron notation, ISO-8601 interval definitions, or using triggers that depend on the results of other jobs.
Job types
Each job type is a type of Fusion object that you can run or schedule to be run.
|
A job to ingest data according to the specified datasource configuration, such as See Datasource Jobs. |
|
A Spark job to process data, such as See Spark Jobs. |
|
The Jobs manager
The Jobs manager, available in the Fusion UI at Search > Jobs, provides a simple interface for viewing and scheduling jobs. Tasks and Spark jobs can also be created here.
Datasource jobs cannot be created, run, or scheduled here. They must be created on the Datasources page, in the Index Workbench, or in the Quickstart. To run a datasource once, go to Search > Datasources or DevOps > Scheduler. To schedule a datasource job, go to DevOps > Scheduler.
-
Click Add and select the job type.
The New Job Configuration panel appears. This panel is different for each job type. See the job types above for details.
-
Configure the new job as needed.
-
Click Save.
-
Select the job from the job list.
-
Click Run.
-
Click Start.
-
Select the job from the job list.
-
Click Run.
-
Click New Schedule.
-
Select a job trigger:
-
After Another Job Completes
Enter the job ID and job result that trigger this one.
-
Cron String
Enter a Quartz cron expression. See the Quartz documentation for details.
-
Start + Interval
Enter a start date/time, an interval, and the interval units.
-
The Scheduler
The Scheduler, available in the Fusion UI at DevOps > Scheduler, provides an interface for scheduling jobs. Jobs cannot be created here; to create new schedulable objects, use the Jobs manager, or the REST API for each job type.