Timer

 
Timer
is an additional service which runs the URL check - as a scheduled task, through the http (https) protocol. You can use it instead of starting scripts regularly through CRON. The Timer service is available for free with each webhosting (except of PIDI and EMAIL webhosting variants) and its interface is available in the webhosting administration page.

Planning methods

Periodic plan

The task is started at intervals of 5, 10, 15, 30, 60 minutes, at time which corresponds with the period.

Example: for an interval of 15 minutes, starting is done at 13:00, 13:15, 13:30, 13:45

Plan with a fixed day and time selection

The task is run at a specific time - e.g. at 13:30, user can also specify the day or days on which the task will be performed.

Examples
  • every day at 13:30
  • every fifth day at 8:00
  • every second week on specified days of that week (Monday and Wednesday) at 1:00
  • every 20. day of the month (regardless of the day)

Principle

If the task complies with the time of start, it will be run. Before starting, the following checks are done:
- whether the domain or subdomain can be translated to an IP address
- whether the IP address matches the address range of provider

If one of the checks is negative, the task will not be started, it will be suspended. If the checks are OK, the task will start. In case of failures
during the start, the errors will be recorded. According to the type of error (see description below), the policy of task status change is implemented. Time limit for running the task is set to 4 minutes. (Note that the time limit for running a script on a webserver may be shorter. E.g. for webhosting Normal it is 90 seconds). As soon as the time limit expires, the task is interrupted.

Error messages and task status changes

0 OK -
10 The remote name is out of IP range 0
11 The remote name could not be resolved 0
20 Unable to connect to the remote server 2
22 The underlying connection was closed: An unexpected error occurred on a receive 2
400 The remote server returned an error: (400) Bad Request 2
401 The remote server returned an error: (401) Unauthorized 2
403 The remote server returned an error: (403) Forbidden 2
404 The remote server returned an error: (404) Not Found 1
500 The remote server returned an error: (500) Internal Server Error 1
900 HTTP unspecified 1
0 starting the task, the task will be suspended immediately
1 task with a periodic plan will be suspended after 5 failures - time of a task with fixed time and day solution will be postponed after each failure for 30 minutes, 5 times in total, after that the task will be suspended
2 task with a periodic plan will keep starting - time of a task with fixed time and day solution will be postponed after each failure for 30 minutes
Suspension of a task means that the task will not be started until the customer re-starts the task again. Re-start of the task will have no effect, unless the cause of the failure (error) is removed. 

Add Feedback