Answer the question
In order to leave comments, you need to log in
How to run cron task in cpanel?
Hello, I created a working action in the controller. Located in the console/controllers/UserController.php folder. How to configure the launch of this task through cpanel (reg.ru).
Provider recommendation:
/usr/local/bin/ea-php99 /var/www/u0589983/domain_path/path/to/cron/script
Mine:
/usr/local/bin/ea-php54/var/www/u0589983/domain .com/console/controllers/UserController.php
The message comes in the mail:
/bin/bash: /usr/local/bin/ea-php54/var/www/u0589983/domain.com/console/controllers/UserController.php: Not a directory
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question