CRON Scheduler

The Scheduler is a tool for automatically executing tasks on the server that repeat at a specified frequency. With it, you can flexibly configure various tasks. A scheduler job (cron) means the full path to the program that should be executed automatically at a specified frequency, and, if necessary, a set of arguments.

CRON is a task scheduler used to periodically execute tasks at a specific time. 

1. In the Main section, select the Scheduler item and click Add:


2. In the Command field, enter the command to be executed, set the task start time below and click Ok:


In our example, the task start time is set every 5 minutes.

Command examples

starting a job via GET. If it is necessary to start a cron job, taking into account the context of the engine:
GET http://site.ru/script.php
where site.ru is your domain name, and script.php is the name of the task file;

starting a job via WGET. An alternative option for starting a cron job, taking into account the context of the engine:
wget -q -O - http://site.ru/script.php> / dev / null 2> & 1
where site.ru is your domain name, and script.php is the name of the task file;

running a job through the PHP CLI. The CRON job can be performed through the command line interface. For example, if you want to run a script under PHP 7.3:

For ISPManager:
/ opt / alt / php73 / usr / bin / php -f /var/www/user/data/www/site.ru/script.php
In the above example, replace "php73" with the PHP version you want to use. Look in the PHP section for a list of available versions. Example: php72, php70.

  • 588 Users Found This Useful
Was this answer helpful?

Related Articles

How to install WordPress (or another CMS) with ISPmanager

Web scripts allow you to automate the installation of a content management system (CMS), a...

Guide for setting up MX record (example Google)

MX records are DNS records required for routing email. The MX record dictates which mail servers...

Restore backup files on your site or database

General informationOn shared hosting DarkHost, backups are created automatically. If you need to...

Create FTP user

An FTP user is needed to upload or download files to the server via ISPmanager. It only has...

Adding a domain to hosting

Adding a domain to an existing hosting takes place in the control panel 1. In the "WWW" section,...