Data structures


Each cronjob contains these members:

Name Type Description
id integer ID
group integer Group ID, null means "None"
second array(string) Second values (only 0 and/or 30 is allowed)
minute array(string) Minute values
hour array(string) Hour values
day array(string) Day values
month array(string) Month values
weekday array(string) Weekday values
timezone string Time zone
url string URL to call
httpMethod string The HTTP Method to send HTTP request to your URL.
httpHeaders string Headers of the HTTP request to send to your cronjob URL.
postData string The data to POST to your URL
fail integer Number of consecutive failures
status integer Status code, 0 means "active"
name string Name of cronjob
notify integer Notification settings
points integer Points, number of executions per day

Status codes

Here's the list of cronjob's status codes:

Value Name Description
0 STATUS_ACTIVE Cronjob is active and running
1 STATUS_DISABLED Disabled by user
2 STATUS_EXPIRED Disabled due to account expired
3 STATUS_INACTIVE Disabled due to not enough account points
4 STATUS_FAILED Disabled due to many consecutive failures

Notification settings

Here's the list of notification setting codes:

Value Name Description
0 NOTIFY_NEVER Never send you any notification
1 NOTIFY_FAILURE Notify you when cronjob fails
2 NOTIFY_ALWAYS Notify you when cronjob is executed
3 NOTIFY_DISABLED Notify you only when cronjob disabled because of multiple consecutive failures

Cron execution result

Each cron execution results contains these members:

Name Type Description
jobId integer Cronjob ID
no integer Execution no.
startTime integer Unix timestamp of execution's starting time
ip string Your URL's server IP
status integer Execution status, 0 means "success"
result string Cron script output (includes HTTP headers and content)
downloaded integer Size of downloaded output in bytes


Each group contains these members:

Name Type Description
id integer ID
name string Name

Supported timezones

There are two types of timezone: real timezone e.g. Europe/London, and displaying timezone e.g. (UTC+1) Europe/London. Our data structures and parameters' timezone field works with real timezone only.

You can get the list of supported timezones at server.timezones.

Warning: If you send request using URL parameters, please escape your timezone (and all other variables' values) using a URL encoding function e.g. PHP's rawurlencode.