Cron php error: Solved
Hi guys i have a problem, i cant run a cron job with php, i try with:
-php -q -f /home/my_user/public_html/hi.php
-php -q -f /home/my_user.com/public_html/hi.php
-php -q /home/my_user/public_html/hi.php
-php -q /home/my_user.com/public_html/hi.php
-php /home/my_user/public_html/hi.php
-php /home/my_user.com/public_html/hi.php
With the errors: No input file specified.
-php -q -f http://www.my_domain.com/hi.php
-php -q -f http://www.my_domain.com/hi.php
-php -q http://www.my_domain.com/hi.php
-php -q http://www.my_domain.com/hi.php
-php http://www.my_domain.com/hi.php
-php http://www.my_domain.com/hi.php
With the errors:
Status: 404
X-Powered-By: PHP/4.4.4
Content-type: text/html
No input file specified.
-lynx --dump http://www.my_domain.com/hi.php and i have the error: /bin/sh: /usr/bin/lynx: Permission denied.



And i can run the file with http://www.my_domain.com/hi.php
can someone help me? Thx
Hi guys i have a problem, i cant run a cron job with php, i try with:
-php -q -f /home/my_user/public_html/hi.php
-php -q -f /home/my_user.com/public_html/hi.php
-php -q /home/my_user/public_html/hi.php
-php -q /home/my_user.com/public_html/hi.php
-php /home/my_user/public_html/hi.php
-php /home/my_user.com/public_html/hi.php
With the errors: No input file specified.
-php -q -f http://www.my_domain.com/hi.php
-php -q -f http://www.my_domain.com/hi.php
-php -q http://www.my_domain.com/hi.php
-php -q http://www.my_domain.com/hi.php
-php http://www.my_domain.com/hi.php
-php http://www.my_domain.com/hi.php
With the errors:
Status: 404
X-Powered-By: PHP/4.4.4
Content-type: text/html
No input file specified.
-lynx --dump http://www.my_domain.com/hi.php and i have the error: /bin/sh: /usr/bin/lynx: Permission denied.
And i can run the file with http://www.my_domain.com/hi.php
Last edited: