Technical information

Cron (Task manager)

Cron is task manager. With its help you can run tasks at certain times and intervals.

How to go to Cron settings?

Step 1. Login to the Mirohost control panel

Step 2. Go to website management section and select the domain you need

Step 3. Select ‘Task manager’ (Website management → Task manager).

Task parameters:

  • minutes 0-59
  • hours 0-23
  • day of the month 1-31
  • month 1-12
  • day of the week 0-7 (0 and 7 is sunday)

* - range from the first to the last.

Task examples:

  • */5 * * * * /usr/bin/php -f /var/www/homedir/somedomain.ua/test.php Cron job for every 5 minutes
  • */30 * * * * /usr/bin/wget -q -O /dev/null http://somedomain.ua/test.php Cron job for every 30 minutes
  • 0 */3 * * * /usr/bin/php -f /var/www/homedir/somedomain.ua/test.php Cron job for every 3 hours
  • 0 13 * * * /usr/bin/php -f /var/www/homedir/somedomain.ua/test.php Cron job every day in 13.00
  • 30 2 * * * /usr/bin/php -f /var/www/homedir/somedomain.ua/test.php Cron job every day in 02.30

   See also

* [How to create SSL certificate in the Mirohost control panel](https://mirohost.net/en/support/hosting-technical/kak-sozdat-ssl-sertifikat-v-kontrolnoj-paneli-mirohost)
* [Database management by using phpMyAdmin in the Mirohost control panel](https://mirohost.net/en/support/hosting-technical/upravlenie-bazoj-dannyh-s-pomoshhyu-phpmyadmin)
* [SSH access](https://mirohost.net/en/support/hosting-technical/dostup-po-ssh)
* [DNS records management (A, MX, TXT, CNAME) in the Mirohost control panel](https://mirohost.net/en/support/hosting-technical/upravlenie-dns-zapisyami-a-mx-txt-cname-v-kontrolnoj-paneli-mirohost)