Job

Nom de la ressource job
URL https://api.alwaysdata.com/v1/job
Description Tâches planifiées
Operations create, read, update, delete, list

Fields

Name Details
id

readonly: YES

integer

Resource ID.

href

readonly: YES

string

Resource location.

type string

Type of task

(sélectionner une autre valeur pour voir les champs spécifiques)

date_type

default value: DAILY

string

  • DAILY: Daily
  • FREQUENCY: Fixed frequence
  • CRONTAB: crontab syntax

argument string

Depending on the type of the task, provide the complete command or a list of URLs (separated by spaces or line breaks).

is_disabled

default value: False

bool

Deactivate the task

daily_time

default value: null

unknown

Example: 10:30

frequency

default value: null

integer
frequency_period

default value: null

string

  • minute: minute(s)
  • hour: hour(s)
  • day: day(s)
  • week: week(s)
  • month: month(s)

crontab_syntax

default value: null

string

Read the documentation on crontab format.

notify_emails

default value: null

string

Specify the addresses to which the error reports will be sent, separated by spaces.

working_directory

default value: null

string

Chemin relatif à la racine de votre compte.

environment

default value: null

string

Environment variables, in the format: FOO=bar LOREM=ipsum

ssh_user

default value: demo

integer (ssh user)

SSH user

annotation string

L'annotation est facultative et apparaitra dans le listing.