# Web Cloud › Web Hosting › Cron API

> Part of the OVHcloud developer hub. Index of every page and section: https://developers.eu.ovhcloud.com/llms.txt
> The Web Cloud product's sections: https://developers.eu.ovhcloud.com/reference/web-cloud/llms.txt
> Everything in one file: https://developers.eu.ovhcloud.com/llms-full.txt

> 6 operations of the OVHcloud API. Calls carry `authorization: Bearer $OVH_TOKEN`; the EU host is shown, Canada and the United States answer on api.ca.ovhcloud.com and api.us.ovhcloud.com.

Page: https://developers.eu.ovhcloud.com/reference/web-cloud/web-hosting/cron/

OpenAPI v1: https://api.eu.ovhcloud.com/1.0/__schemas/developer-hub-navigation/web-cloud/web-hosting/cron.json?format=openapi3
OpenAPI v2: https://api.eu.ovhcloud.com/v2/__schemas/developer-hub-navigation/web-cloud/web-hosting/cron.json?format=openapi3

## Operations

- `GET /hosting/web/{serviceName}/cron` — List cron jobs
- `GET /hosting/web/{serviceName}/cron/{id}` — Get a cron job
- `GET /hosting/web/{serviceName}/cronAvailableLanguage` — List cron languages
- `POST /hosting/web/{serviceName}/cron` — Create a cron job
- `DELETE /hosting/web/{serviceName}/cron/{id}` — Delete a cron job
- `PUT /hosting/web/{serviceName}/cron/{id}` — Update a cron job

## List cron jobs

`GET /1.0/hosting/web/{serviceName}/cron`

Link: https://developers.eu.ovhcloud.com/reference/web-cloud/web-hosting/cron/#get-hosting-web-servicename-cron

**Status:** Stable production version  
**IAM actions:** `webHosting:apiovh:cron/get`

Returns the IDs of the cron jobs of the hosting. Filter them by command, description, email or language.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `command` | query | string |  | Filter the value of command property (like) |
| `description` | query | string |  | Filter the value of description property (like) |
| `email` | query | string |  | Filter the value of email property (like) |
| `language` | query | hosting.web.LanguagesEnum |  | Filter the value of language property (=) — one of `node10`, `node11`, `node12`, `node14`, `node8`, `node9`, `other`, `php4`, `php5.2`, `php5.3`, `php5.4`, `php5.5`, … |
| `serviceName` | path | string | yes | Service name |

### Responses

| Status | Type | Description |
| --- | --- | --- |
| 200 | integer[] | successful operation |

```json
[
  0
]
```

### Example

```bash
curl -X GET \
  "https://api.eu.ovhcloud.com/1.0/hosting/web/{serviceName}/cron" \
  -H "accept: application/json" \
  -H "authorization: Bearer $OVH_TOKEN"
```

```python
'''
First, install the latest release of Python wrapper: $ pip install ovh
'''
import json
import ovh

# Instantiate an OVH Client.
# You can generate new credentials with full access to your account on
# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
client = ovh.Client(
	endpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
	application_key='xxxxxxxxxx',    # Application Key
	application_secret='xxxxxxxxxx', # Application Secret
	consumer_key='xxxxxxxxxx',       # Consumer Key
)

result = client.get("/hosting/web/{serviceName}/cron")

# Pretty print
print(json.dumps(result, indent=4))
```

```php
<?php
/**
 * First, download the latest release of PHP wrapper on github
 * And include this script into the folder with extracted files
 */
require __DIR__ . '/vendor/autoload.php';
use \Ovh\Api;

/**
 * Instantiate an OVH Client.
 * You can generate new credentials with full access to your account on
 * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
 */
$ovh = new Api('xxxxxxxxxx',  // Application Key
               'xxxxxxxxxx',  // Application Secret
               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
               'xxxxxxxxxx'); // Consumer Key

$result = $ovh->get("/hosting/web/{serviceName}/cron");

print_r($result);
?>
```

## Get a cron job

`GET /1.0/hosting/web/{serviceName}/cron/{id}`

Link: https://developers.eu.ovhcloud.com/reference/web-cloud/web-hosting/cron/#get-hosting-web-servicename-cron-id

**Status:** Stable production version  
**IAM actions:** `webHosting:apiovh:cron/get`

Returns the command, frequency, language, email and status of the cron job.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | integer | yes | Id |
| `serviceName` | path | string | yes | Service name |

### Responses

| Status | Type | Description |
| --- | --- | --- |
| 200 | hosting.web.Cron | successful operation |

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `command` | string | yes | Command to execute |
| `description` | string |  | Description field for you |
| `email` | string |  | Email used to receive error log (stderr) |
| `frequency` | string | yes | Frequency (crontab format) defined for the script (minutes are ignored) |
| `id` | integer | read-only | Cron's id |
| `language` | hosting.web.LanguagesEnum | yes | Cron language — one of `node10`, `node11`, `node12`, `node14`, `node8`, `node9`, `other`, `php4`, `php5.2`, `php5.3`, `php5.4`, `php5.5`, … |
| `state` | hosting.web.cron.StateEnum | read-only | Cron language — one of `created`, `creating`, `deleting`, `updating` |
| `status` | hosting.web.cron.StatusEnum |  | Cron status — one of `disabled`, `enabled`, `suspended` |

```json
{
  "command": "string",
  "description": "string",
  "email": "string",
  "frequency": "string",
  "id": 0,
  "language": "node10",
  "state": "created",
  "status": "disabled"
}
```

### Example

```bash
curl -X GET \
  "https://api.eu.ovhcloud.com/1.0/hosting/web/{serviceName}/cron/{id}" \
  -H "accept: application/json" \
  -H "authorization: Bearer $OVH_TOKEN"
```

```python
'''
First, install the latest release of Python wrapper: $ pip install ovh
'''
import json
import ovh

# Instantiate an OVH Client.
# You can generate new credentials with full access to your account on
# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
client = ovh.Client(
	endpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
	application_key='xxxxxxxxxx',    # Application Key
	application_secret='xxxxxxxxxx', # Application Secret
	consumer_key='xxxxxxxxxx',       # Consumer Key
)

result = client.get("/hosting/web/{serviceName}/cron/{id}")

# Pretty print
print(json.dumps(result, indent=4))
```

```php
<?php
/**
 * First, download the latest release of PHP wrapper on github
 * And include this script into the folder with extracted files
 */
require __DIR__ . '/vendor/autoload.php';
use \Ovh\Api;

/**
 * Instantiate an OVH Client.
 * You can generate new credentials with full access to your account on
 * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
 */
$ovh = new Api('xxxxxxxxxx',  // Application Key
               'xxxxxxxxxx',  // Application Secret
               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
               'xxxxxxxxxx'); // Consumer Key

$result = $ovh->get("/hosting/web/{serviceName}/cron/{id}");

print_r($result);
?>
```

## List cron languages

`GET /1.0/hosting/web/{serviceName}/cronAvailableLanguage`

Link: https://developers.eu.ovhcloud.com/reference/web-cloud/web-hosting/cron/#get-hosting-web-servicename-cronavailablelanguage

**Status:** Stable production version  
**IAM actions:** `webHosting:apiovh:cronAvailableLanguages/get`

Returns the languages a cron job can use on the hosting.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `serviceName` | path | string | yes | Service name |

### Responses

| Status | Type | Description |
| --- | --- | --- |
| 200 | hosting.web.LanguagesEnum[] | successful operation |

```json
[
  "node10"
]
```

### Example

```bash
curl -X GET \
  "https://api.eu.ovhcloud.com/1.0/hosting/web/{serviceName}/cronAvailableLanguage" \
  -H "accept: application/json" \
  -H "authorization: Bearer $OVH_TOKEN"
```

```python
'''
First, install the latest release of Python wrapper: $ pip install ovh
'''
import json
import ovh

# Instantiate an OVH Client.
# You can generate new credentials with full access to your account on
# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
client = ovh.Client(
	endpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
	application_key='xxxxxxxxxx',    # Application Key
	application_secret='xxxxxxxxxx', # Application Secret
	consumer_key='xxxxxxxxxx',       # Consumer Key
)

result = client.get("/hosting/web/{serviceName}/cronAvailableLanguage")

# Pretty print
print(json.dumps(result, indent=4))
```

```php
<?php
/**
 * First, download the latest release of PHP wrapper on github
 * And include this script into the folder with extracted files
 */
require __DIR__ . '/vendor/autoload.php';
use \Ovh\Api;

/**
 * Instantiate an OVH Client.
 * You can generate new credentials with full access to your account on
 * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
 */
$ovh = new Api('xxxxxxxxxx',  // Application Key
               'xxxxxxxxxx',  // Application Secret
               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
               'xxxxxxxxxx'); // Consumer Key

$result = $ovh->get("/hosting/web/{serviceName}/cronAvailableLanguage");

print_r($result);
?>
```

## Create a cron job

`POST /1.0/hosting/web/{serviceName}/cron`

Link: https://developers.eu.ovhcloud.com/reference/web-cloud/web-hosting/cron/#post-hosting-web-servicename-cron

**Status:** Stable production version  
**IAM actions:** `webHosting:apiovh:cron/create`

Creates a cron job that runs a script at a crontab frequency, and returns the task. Minutes in the frequency are ignored. Errors are sent to the email address.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `serviceName` | path | string | yes | Service name |

### Request body (required)

Type: `hosting.web.Cron`

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `command` | string | yes | Command to execute |
| `description` | string |  | Description field for you |
| `email` | string |  | Email used to receive error log (stderr) |
| `frequency` | string | yes | Frequency (crontab format) defined for the script (minutes are ignored) |
| `id` | integer | read-only | Cron's id |
| `language` | hosting.web.LanguagesEnum | yes | Cron language — one of `node10`, `node11`, `node12`, `node14`, `node8`, `node9`, `other`, `php4`, `php5.2`, `php5.3`, `php5.4`, `php5.5`, … |
| `state` | hosting.web.cron.StateEnum | read-only | Cron language — one of `created`, `creating`, `deleting`, `updating` |
| `status` | hosting.web.cron.StatusEnum |  | Cron status — one of `disabled`, `enabled`, `suspended` |

```json
{
  "command": "string",
  "description": "string",
  "email": "string",
  "frequency": "string",
  "language": "node10",
  "status": "disabled"
}
```

### Responses

| Status | Type | Description |
| --- | --- | --- |
| 200 | hosting.web.PublicTask | successful operation |

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `doneDate` | string (date-time) | read-only | Done date |
| `function` | hosting.web.task.FunctionEnum | read-only | Task function — one of `abuse/close`, `abuse/create`, `abuse/create/web`, `abuse/delete/web`, `abuse/update`, `abuse/update/web`, `agora/AnycastUpdateReference`, `agora/DnsAddonUpdateReference`, `agora/DnsUpdateReference`, `agora/updateReference`, `attachedDomain/create`, `attachedDomain/delete`, … |
| `id` | integer | read-only | Task's id |
| `lastUpdate` | string (date-time) | read-only | Last update date |
| `objectId` | string | read-only | Task object id |
| `objectType` | hosting.web.task.ObjectTypeEnum | read-only | Task object type — one of `Abuse`, `AttachedDomain`, `BlockedIp`, `Cdn`, `Cron`, `Database`, `Deployment`, `Dump`, `EnvVar`, `Filerz`, `Hostedssl`, `Hosting`, … |
| `startDate` | string (date-time) | read-only | Start date |
| `status` | hosting.web.task.StatusEnum | read-only | Task status — one of `cancelled`, `doing`, `done`, `init`, `todo` |

```json
{
  "doneDate": "2024-01-01T12:00:00Z",
  "function": "abuse/close",
  "id": 0,
  "lastUpdate": "2024-01-01T12:00:00Z",
  "objectId": "string",
  "objectType": "Abuse",
  "startDate": "2024-01-01T12:00:00Z",
  "status": "cancelled"
}
```

### Example

```bash
curl -X POST \
  "https://api.eu.ovhcloud.com/1.0/hosting/web/{serviceName}/cron" \
  -H "accept: application/json" \
  -H "authorization: Bearer $OVH_TOKEN" \
  -H "content-type: application/json" \
  -d '{ }'
```

```python
'''
First, install the latest release of Python wrapper: $ pip install ovh
'''
import json
import ovh

# Instantiate an OVH Client.
# You can generate new credentials with full access to your account on
# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
client = ovh.Client(
	endpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
	application_key='xxxxxxxxxx',    # Application Key
	application_secret='xxxxxxxxxx', # Application Secret
	consumer_key='xxxxxxxxxx',       # Consumer Key
)

# Request body type: hosting.web.Cron
result = client.post("/hosting/web/{serviceName}/cron",
	command = None, # Command to execute (type: string)
	description = None, # Description field for you (type: string, nullable)
	email = None, # Email used to receive error log (stderr) (type: string, nullable)
	frequency = None, # Frequency (crontab format) defined for the script (minutes are ignored) (type: string)
	language = None, # Cron language (type: hosting.web.LanguagesEnum)
	status = None, # Cron status (type: hosting.web.cron.StatusEnum)
)

# Pretty print
print(json.dumps(result, indent=4))
```

```php
<?php
/**
 * First, download the latest release of PHP wrapper on github
 * And include this script into the folder with extracted files
 */
require __DIR__ . '/vendor/autoload.php';
use \Ovh\Api;

/**
 * Instantiate an OVH Client.
 * You can generate new credentials with full access to your account on
 * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
 */
$ovh = new Api('xxxxxxxxxx',  // Application Key
               'xxxxxxxxxx',  // Application Secret
               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
               'xxxxxxxxxx'); // Consumer Key

// Request body type: hosting.web.Cron
$result = $ovh->post("/hosting/web/{serviceName}/cron", array(
	command => null, // Command to execute (type: string)
	description => null, // Description field for you (type: string, nullable)
	email => null, // Email used to receive error log (stderr) (type: string, nullable)
	frequency => null, // Frequency (crontab format) defined for the script (minutes are ignored) (type: string)
	language => null, // Cron language (type: hosting.web.LanguagesEnum)
	status => null, // Cron status (type: hosting.web.cron.StatusEnum)
));

print_r($result);
?>
```

## Delete a cron job

`DELETE /1.0/hosting/web/{serviceName}/cron/{id}`

Link: https://developers.eu.ovhcloud.com/reference/web-cloud/web-hosting/cron/#delete-hosting-web-servicename-cron-id

**Status:** Stable production version  
**IAM actions:** `webHosting:apiovh:cron/delete`

Deletes the cron job and returns the task.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | integer | yes | Id |
| `serviceName` | path | string | yes | Service name |

### Responses

| Status | Type | Description |
| --- | --- | --- |
| 200 | hosting.web.PublicTask | successful operation |

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `doneDate` | string (date-time) | read-only | Done date |
| `function` | hosting.web.task.FunctionEnum | read-only | Task function — one of `abuse/close`, `abuse/create`, `abuse/create/web`, `abuse/delete/web`, `abuse/update`, `abuse/update/web`, `agora/AnycastUpdateReference`, `agora/DnsAddonUpdateReference`, `agora/DnsUpdateReference`, `agora/updateReference`, `attachedDomain/create`, `attachedDomain/delete`, … |
| `id` | integer | read-only | Task's id |
| `lastUpdate` | string (date-time) | read-only | Last update date |
| `objectId` | string | read-only | Task object id |
| `objectType` | hosting.web.task.ObjectTypeEnum | read-only | Task object type — one of `Abuse`, `AttachedDomain`, `BlockedIp`, `Cdn`, `Cron`, `Database`, `Deployment`, `Dump`, `EnvVar`, `Filerz`, `Hostedssl`, `Hosting`, … |
| `startDate` | string (date-time) | read-only | Start date |
| `status` | hosting.web.task.StatusEnum | read-only | Task status — one of `cancelled`, `doing`, `done`, `init`, `todo` |

```json
{
  "doneDate": "2024-01-01T12:00:00Z",
  "function": "abuse/close",
  "id": 0,
  "lastUpdate": "2024-01-01T12:00:00Z",
  "objectId": "string",
  "objectType": "Abuse",
  "startDate": "2024-01-01T12:00:00Z",
  "status": "cancelled"
}
```

### Example

```bash
curl -X DELETE \
  "https://api.eu.ovhcloud.com/1.0/hosting/web/{serviceName}/cron/{id}" \
  -H "accept: application/json" \
  -H "authorization: Bearer $OVH_TOKEN"
```

```python
'''
First, install the latest release of Python wrapper: $ pip install ovh
'''
import json
import ovh

# Instantiate an OVH Client.
# You can generate new credentials with full access to your account on
# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
client = ovh.Client(
	endpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
	application_key='xxxxxxxxxx',    # Application Key
	application_secret='xxxxxxxxxx', # Application Secret
	consumer_key='xxxxxxxxxx',       # Consumer Key
)

result = client.delete("/hosting/web/{serviceName}/cron/{id}")

# Pretty print
print(json.dumps(result, indent=4))
```

```php
<?php
/**
 * First, download the latest release of PHP wrapper on github
 * And include this script into the folder with extracted files
 */
require __DIR__ . '/vendor/autoload.php';
use \Ovh\Api;

/**
 * Instantiate an OVH Client.
 * You can generate new credentials with full access to your account on
 * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
 */
$ovh = new Api('xxxxxxxxxx',  // Application Key
               'xxxxxxxxxx',  // Application Secret
               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
               'xxxxxxxxxx'); // Consumer Key

$result = $ovh->delete("/hosting/web/{serviceName}/cron/{id}");

print_r($result);
?>
```

## Update a cron job

`PUT /1.0/hosting/web/{serviceName}/cron/{id}`

Link: https://developers.eu.ovhcloud.com/reference/web-cloud/web-hosting/cron/#put-hosting-web-servicename-cron-id

**Status:** Stable production version  
**IAM actions:** `webHosting:apiovh:cron/edit`

Updates the command, frequency, language, email or description of the cron job. Minutes in the frequency are ignored.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | integer | yes | Id |
| `serviceName` | path | string | yes | Service name |

### Request body (required)

Type: `hosting.web.Cron`

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `command` | string | yes | Command to execute |
| `description` | string |  | Description field for you |
| `email` | string |  | Email used to receive error log (stderr) |
| `frequency` | string | yes | Frequency (crontab format) defined for the script (minutes are ignored) |
| `id` | integer | read-only | Cron's id |
| `language` | hosting.web.LanguagesEnum | yes | Cron language — one of `node10`, `node11`, `node12`, `node14`, `node8`, `node9`, `other`, `php4`, `php5.2`, `php5.3`, `php5.4`, `php5.5`, … |
| `state` | hosting.web.cron.StateEnum | read-only | Cron language — one of `created`, `creating`, `deleting`, `updating` |
| `status` | hosting.web.cron.StatusEnum |  | Cron status — one of `disabled`, `enabled`, `suspended` |

```json
{
  "command": "string",
  "description": "string",
  "email": "string",
  "frequency": "string",
  "language": "node10",
  "status": "disabled"
}
```

### Responses

| Status | Type | Description |
| --- | --- | --- |
| 200 | string | successful operation |

```json
"string"
```

### Example

```bash
curl -X PUT \
  "https://api.eu.ovhcloud.com/1.0/hosting/web/{serviceName}/cron/{id}" \
  -H "accept: application/json" \
  -H "authorization: Bearer $OVH_TOKEN" \
  -H "content-type: application/json" \
  -d '{ }'
```

```python
'''
First, install the latest release of Python wrapper: $ pip install ovh
'''
import json
import ovh

# Instantiate an OVH Client.
# You can generate new credentials with full access to your account on
# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
client = ovh.Client(
	endpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
	application_key='xxxxxxxxxx',    # Application Key
	application_secret='xxxxxxxxxx', # Application Secret
	consumer_key='xxxxxxxxxx',       # Consumer Key
)

# Request body type: hosting.web.Cron
result = client.put("/hosting/web/{serviceName}/cron/{id}",
	command = None, # Command to execute (type: string)
	description = None, # Description field for you (type: string, nullable)
	email = None, # Email used to receive error log (stderr) (type: string, nullable)
	frequency = None, # Frequency (crontab format) defined for the script (minutes are ignored) (type: string)
	language = None, # Cron language (type: hosting.web.LanguagesEnum)
	status = None, # Cron status (type: hosting.web.cron.StatusEnum)
)

# Pretty print
print(json.dumps(result, indent=4))
```

```php
<?php
/**
 * First, download the latest release of PHP wrapper on github
 * And include this script into the folder with extracted files
 */
require __DIR__ . '/vendor/autoload.php';
use \Ovh\Api;

/**
 * Instantiate an OVH Client.
 * You can generate new credentials with full access to your account on
 * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)
 */
$ovh = new Api('xxxxxxxxxx',  // Application Key
               'xxxxxxxxxx',  // Application Secret
               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)
               'xxxxxxxxxx'); // Consumer Key

// Request body type: hosting.web.Cron
$result = $ovh->put("/hosting/web/{serviceName}/cron/{id}", array(
	command => null, // Command to execute (type: string)
	description => null, // Description field for you (type: string, nullable)
	email => null, // Email used to receive error log (stderr) (type: string, nullable)
	frequency => null, // Frequency (crontab format) defined for the script (minutes are ignored) (type: string)
	language => null, // Cron language (type: hosting.web.LanguagesEnum)
	status => null, // Cron status (type: hosting.web.cron.StatusEnum)
));

print_r($result);
?>
```
