I am unable to create correct path of my page for cronjob. I want in cronjob run this again and again but I am unable to make correct path of my page. At cronjob page there is notice written :
PHP command examples:
General example:
/usr/local/bin/php /home/flipkart/public_html/path/to/cron/script
Domain-specific example:
/usr/local/bin/ea-php56 /home/flipkart/domain_path/path/to/cron/script
In the above example, replace “ea-php56” with the PHP version assigned to the domain you wish to use. Look in the MultiPHP Manager for the actual PHP version assigned to a domain.
I am editing like this: /usr/local/bin/ea-php72 /home/flipkart/public_html/folder1/page1.php
But it not work.please help tell me where I am working wrong. What would correct path.
It's usually
/usr/bin/php /path/to/file.php
Because I have no instance of php in my /usr/local/bin
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.