Skip to content
Management

Jobs

Track component jobs in Keboola — the jobs log and search syntax, the job lifecycle and states, waiting and parallelism limits, and how to terminate a running job.

Most of the things done in Keboola run as background, asynchronous jobs. For an overview of all jobs, running and finished, go to the Jobs section:

Screenshot - Jobs

All jobs are logged and their tracked history is virtually unlimited. Click on a job to see details on

  • what tables were imported (created by the job and imported into your Storage).
  • what tables were exported (read from your Storage by the job).
  • how many credits were used by running the job.
  • what events occurred during the job execution.
  • what exact parameters were used for the job (this might be useful when working with the API).

Screenshot - Jobs Detail

Using the search box and advanced patterns you can easily find job based on various parameters.

Query
Job statusstatus:success
User who created the jobtoken.description:john.doe@company.com
(Docker) Component nameparams.component:keboola.ex-http
OR
component:docker params.component:keboola.ex-http
Config IDparams.config:351711187
DurationdurationSeconds:>120
Time startedstartTime:[2018-06-21 TO 2018-07-01]
Time finishedendTime:[2018-06-21 TO 2018-07-01]
Component typecomponent:transformation
(possible values are docker, transformation and orchestrator)
Query
Exclude some results-status:success
(Note the minus sign before the query)
Open ended time queryendTime:[2018-06-21 TO *]
Show jobs after 21st June 2018.
Query
Failed flowscomponent:orchestrator status:error
Long running non-successful flows (more than 2 hours)component:orchestrator durationSeconds:>7200 -status:success
Flows which ended with warningcomponent:orchestrator status:warning
Failed transformationscomponent:transformation status:error
Failed jobs from Docker component HTTP data source connectorparams.component:keboola.ex-http status:error
Jobs from either HTTP data source or Google Sheets data destination connectorparams.component:(keboola.ex-http OR keboola.wr-google-sheets)
All non-successful jobs from either HTTP or Google Sheets writerparams.component:(keboola.ex-http OR keboola.wr-google-sheets) AND -status:success

For more technical information about background jobs, see our Developers documentation.

Jobs are either run manually from any configuration or automatically by the flow at a scheduled time. In either case, the typical life time of a job has the following states:

waiting —> processing —> success/error

Until a job is finished (i.e., it is waiting or processing), it can be terminated:

Screenshot - Terminate Job

Note that a job is not terminated immediately upon clicking the Terminate button. Its termination usually takes a few seconds.

In some cases, a job can have child jobs. They are identified by having their RunId delimited with a dot --- e.g., 347371952.3473719650. In this case, the job 3473719650 run is in fact a child job to 347371952. Terminating the parent job will automatically terminate the child job too. Terminating the child job will probably cause the parent to terminate or fail.

When a job is run, it is always put in the waiting state to wait for our infrastructure --- worker to start executing it. This usually takes anywhere from several seconds to a couple of minutes at most.

There is one more reason for a job to be in the waiting state: project parallelism limits. Either the same configuration of the same component is already being executed, or the overall limit of concurrently running jobs within a project was exceeded. That means that a job will be in the waiting state under the following conditions:

  • If the total number of running jobs in the project is greater or equal to 10.
  • If there is already a running job of the same configuration.
    • Unless it is a transformation job, in which case the same configuration is allowed to run, provided that it is executed by different tokens.

Component jobs are separate from Storage jobs — the low-level record of data loaded to and unloaded from Table Storage. For the Storage → Jobs view and its details, see Storage jobs.

Ask Kai

Ask anything about Keboola — I'll search the docs and cite the pages I use.