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, specify the complete command or a list of URLs (separated by spaces or a line break).

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.

ssh_user integer (ssh user)

SSH user

working_directory

default value: null

string

Absolute path, starting with « / »

environment

default value: null

string

Environment variables, format: FOO=bar LOREM=ipsum