i have a test file
cronjob.php:
When i set cron job in my DirectAdmin Web Control Panel with this code:
an mail comes saying:
If i use this command:
this mail comes:
If i type this:
the response is this:
I started to hate cron jobs!!!anybody can help?
Note:cronjob.php's permission is 777, public_html's permission is also 777.
cronjob.php:
| Code: |
| <?php
$a = "a"; echo "test"; ?> |
When i set cron job in my DirectAdmin Web Control Panel with this code:
| Code: |
| /usr/bin/php -q /home/cihan/domains/baglantilarim.com/public_html/cronjob.php
|
an mail comes saying:
| Code: |
| /bin/sh: line 1: /usr/bin/php: No such file or directory
|
If i use this command:
| Code: |
| /home/cihan/domains/baglantilarim.com/public_html/cronjob.php
|
this mail comes:
| Code: |
| /home/cihan/domains/baglantilarim.com/public_html/cronjob.php: line 1: ?php: No such
file or directory /home/cihan/domains/baglantilarim.com/public_html/cronjob.php: line 2: =: command not found test /home/cihan/domains/baglantilarim.com/public_html/cronjob.php: line 4: syntax error near unexpected token `newline' /home/cihan/domains/baglantilarim.com/public_html/cronjob.php: line 4: `?>' |
If i type this:
| Code: |
| lynx http://www.baglantilarim.com/cronjob.php
|
the response is this:
| Code: |
|
Your Terminal type is unknown! Enter a terminal type: [vt100] TERMINAL TYPE IS SET TO vt100 (B)0[1;24r[m[?7h[?1h=[H[J[21B[0;7mGetting http://www.baglantilarim.com/cronjob.php[m [0;7mLooking up www.baglantilarim.com[m [22;33H [0;7mwww.baglantilarim.com[m [22;22H [0;7mUnable to locate remote host www.baglantilarim.com.[m [0;7mAlert!: Unable to connect to remote host.[m [22;42H [24;1H [?1l> Looking up www.baglantilarim.com www.baglantilarim.com Unable to locate remote host www.baglantilarim.com. Alert!: Unable to connect to remote host. lynx: Can't access startfile http://www.baglantilarim.com/cronjob.php |
I started to hate cron jobs!!!anybody can help?
Note:cronjob.php's permission is 777, public_html's permission is also 777.
