mango10 (User)
Fresh Boarder
Posts: 5
|
|
My Cron Jobs don't execute! 2 Years, 11 Months ago
|
|
Hi! I'm really desperated! I read all the posts in the forum but I really cannot get my cron jobs to start!
I made a script (send.php) with just this content:
| Code: |
<script type="text/javascript">
alert('test');
</script>
|
Then I made a Cron Job:
Task Type: Web Address fopen() (allow_url_fopen is ON)
Command to Run: http://XXX/XXX/send.php (I'm sure the address is correct)
Unix Crontab: ***** (Later I want to have it every two weeks, but for testing I took every minute)
I have this log text:
| Code: |
OUT is(GET /XXXX/php/php.exe /XXXX/send.php HTTP/1.1
Host:
Connection: Close
)HTTP/1.1 404 Not Found
Date: Sun, 21 Jun 2009 06:22:41 GMT
Server: Apache/2.2.4 (Win32) DAV/2 mod_ssl/2.2.4 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.3
Vary: accept-language,accept-charset
Accept-Ranges: bytes
Connection: close
Content-Type: text/html; charset=iso-8859-1
Content-Language: en
Expires: Sun, 21 Jun 2009 06:22:41 GMT
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Object not found!</title>
<link rev="made" href="mailto:admin@xxxx" />
<style type="text/css"><!--/*--><![CDATA[/*><!--*/
body { color: #000000; background-color: #FFFFFF; }
a:link { color: #0000CC; }
p, address {margin-left: 3em;}
span {font-size: smaller;}
/*]]>*/--></style>
</head>
<body>
<h1>Object not found!</h1>
<p>
The requested URL was not found on this server.
If you entered the URL manually please check your
spelling and try again.
</p>
<p>
If you think this is a server error, please contact
the <a href="mailto:admin@xxxxx">webmaster</a>.
</p>
<h2>Error 404</h2>
<address>
<a href="/"></a><br />
<span>06/21/09 08:22:41<br />
Apache/2.2.4 (Win32) DAV/2 mod_ssl/2.2.4 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.3</span>
</address>
</body>
</html>
LOCAL CRON DEBUG:
<b>Working on cron schedule: * * * * *</b>
Got day 1 for START of 1, 2009
Cron was due to run earlier this year
Cron has already been due to run this month (06)
Getting days array
Getting days for 06
Days in 06, 2009: 30
Array: 0=>1, 1=>2, 2=>3, 3=>4, 4=>5, 5=>6, 6=>7, 7=>8, 8=>9, 9=>10, 10=>11, 11=>12, 12=>13, 13=>14, 14=>15, 15=>16, 16=>17, 17=>18, 18=>19, 19=>20, 20=>21, 21=>22, 22=>23, 23=>24, 24=>25, 25=>26, 26=>27, 27=>28, 28=>29, 29=>30,
Cron has already been due to run today
LAST RAN: 08:21 on 21/06/2009
Parsing * * * * * taken 0.000909 secondsUnable to open C:/XXXX/php/php.exe /XXXX/send.php
LOCAL CRON DEBUG:
<b>Working on cron schedule: * * * * *</b>
Got day 1 for START of 1, 2009
Cron was due to run earlier this year
Cron has already been due to run this month (06)
Getting days array
Getting days for 06
Days in 06, 2009: 30
Array: 0=>1, 1=>2, 2=>3, 3=>4, 4=>5, 5=>6, 6=>7, 7=>8, 8=>9, 9=>10, 10=>11, 11=>12, 12=>13, 13=>14, 14=>15, 15=>16, 16=>17, 17=>18, 18=>19, 19=>20, 20=>21, 21=>22, 22=>23, 23=>24, 24=>25, 25=>26, 26=>27, 27=>28, 28=>29, 29=>30,
Cron has already been due to run today
LAST RAN: 08:21 on 21/06/2009
Parsing * * * * * taken 0.000755 seconds
|
I really don't understand what it means and what I did wrong  Maybe someone can give me a hint!
|
|