How to run a PHP-script from cron, which job is to add?

Go to the Web Hosting Control Panel
Left in the menu under "Tools" click on "Scheduler (cron)"
Press the arrow button "Create"
Povitsya window enter the command scheduler:
ISPmanager cron

ISPmanager cron
Add a line to the scheduler

/usr/local/bin/php-q/hosting/ user/data/www/site/skript.php

If you want to run your script through the web, you can use a string

/usr/local/bin/lynx http://имя_сайта/script.php

Select the period of the job from the list.
Click "OK" to save the job

Залишилися питання?

Якщо інструкції недостатньо, команда GoodNet допоможе з налаштуванням хостингу, домену, VPS або панелі керування.

Зв'язатися з підтримкою Відкрити тікет

© 2007 - 2026 GOODNET.UA Всі права захищені.