ChatiumFor developersPlaygroundPricing
Sign in

cancelJob

A function that cancels a job.

Usage/Signature

import { cancelJob } from '@app/jobs'
cancelJob(ctx, jobId)

Arguments

Parameter Type Description
ctx app.Ctx The request context. Used for internal implementation, to store information about the user who created the record, and allows executing the request in the appropriate transaction.
jobId string The identifier of the job. Issued by the job scheduling functions (such as scheduleJobAfter, scheduleJobAsap, scheduleJobAt).