I run one php script in cron job.
So I run the script as follows:
/usr/bin/php check_ip.php
But why I cannot run the script as
follows:
./check_ip.php
When I run like this, I get a lot of errors
[mike@localhost cronjobs]$ ./check_ip.php
./check_ip.php: line 1: ?php: No such file or directory
./check_ip.php: line 2: /bin: is a directory
./check_ip.php: line 3: Filename:check_ip.php: command not found
./check_ip.php: line 4: Author:: command not found
./check_ip.php: line 5: Requirements:: command not found
./check_ip.php: line 6: Purpose:: command not found
./check_ip.php: line 7: