Cozy jobs doctype¶
io.cozy.jobs
¶
The io.cozy.jobs
doctype holds the informations about the instance jobs. Jobs are created by triggers to handle specific background tasks.
domain
{string}: The instance domain of the jobworker
{string}: Worker typeservice
: Handle services (bank operations matching for example)konnector
: Handle konnectors executionsthumbnail
: Handle image thumbnails computationsendmail
: Manages all the mail-related work (sharings, 2FA, passphrase reset, …)migrations
: Used to handle Swift layout migrationsmove
: Move worker role is to export an instance datapush
: This worker is responsible of mobile notificationsshare-*
:share-track
,share-replicate
&share-upload
manage all the share-related data between the instances.unzip
: Unzip filesupdates
: Handle app/konnectors updatesmessage
{object}: Contains all the specific-worker data (slug, script name, …)manual_execution
{bool}: Tells if the job has been manually excutedevent
{object}: Holds the informations for realtimeoptions
{object}: Custom overriden options for the job (max_exec_count
,max_exec_time
,timeout
)state
{string}: State of the job. Can bequeued
,running
,errored
ordone
queued_at
{timestamp}: When the job has been queuedstarted_at
{timestamp}: When the job has been startedfinished_at
{timestamp}: When the job has been finishederror
{string}: Contains the error message if the job failed
You can get more informations on the official documentation