Skip to content

Batch Service

Batch service is a service that enables transactions that would take a long time to process and cannot be handled by normal request processing. This service consists of batch processing and a scheduler. Users can define scripts for data aggregation processing and schedule them to run at predetermined times. Scripts can call databases, files, and REST APIs as well as actions.

Tips

The functions provided by this service are as follows:

  1. Creating and editing job definitions
  2. Job scheduling
  3. Job execution
  4. Job monitoring

In describing batch services, we will explain terms that appear in the text.

TerminologyExplanation
JobUnit of batch processing invoked by this service
Job DefinitionDefinition of how the job is to be executed. Scripts, execution triggers, and execution timeouts can be configured.
Job QueueThe job is sent to the job queue and remains in the job queue until it is ready to run. Jobs are scheduled on a first-in, first-out (FIFO) basis.
Job SendingSending a job to the job queue. The timing of when a job is sent is as follows: 1. When the "Execute Job" button is pressed by the user. 2. When the trigger condition set in the job definition is met.
Job ExecutionThe execution of a job in the job queue.
Job Exit CodeIf the job is successful:0 (fixed)
If the job fails:other than 0 (Can be specified arbitrarily in scripts with the built-in function exit())
Job StatusStatus of jobs in the job queue. Please check the job status in Monitoring for the details of the status.
Job TerminationTo stop a job in the job queue. The status of the stopped job will transition to "Failed". Stopping may take several minutes.
Job Creation TimeTime when the job status transitioned to "Waiting".
Job Start TimeTime when the job status changes to "Running".
Job Stop TimeTime when the job status transitioned to "Succeded" or "Failed".
Job Execution TimeThe time taken to execute the job or the elapsed time. Please check Job job execution time in Monitoring for details on job execution time.