i have problems with Cron jobs, it’s always said “No such file or directory”
I tried everything but it’s still not working on that cPanel.
-q /home/user/tracker.domain.com/cron/3.php
It’s using subdomain who is not in public_html.
i have problems with Cron jobs, it’s always said “No such file or directory”
I tried everything but it’s still not working on that cPanel.
-q /home/user/tracker.domain.com/cron/3.php
It’s using subdomain who is not in public_html.
2
Answers
You have to specify the full php binary path inside the cronjob. Assuming your php binary full path is
/usr/bin/php
then your cronjob will look like this:You should use php before -q in your cron jobs like this
php -q /home/user/tracker.domain.com/cron/3.php