RE: [PHP] cron job
| From: | Krznaric Michael | Date: | Wed, 20 Dec 2000 15:21:12 +0000 |
| Subject: | RE: [PHP] cron job | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-31212@lists.php.net to get a copy of this message | ||
What happens when you say
lynx localhost/daily_jobs.php
??
Also, you should look at the email of the cron job owner. You should have
an email there containing output from your cron entry.
Mike
-----Original Message-----
From: Ahmed [mailto:ahmed@mazika.com]
Sent: Wednesday, December 20, 2000 9:47 AM
To: php-general@lists.php.net
Subject: [PHP] cron job
Hi all,
I have a problem with excuting a daily PHP script, I put this script in
the cron.daily folder so that its excuted daily, but I noticed that its
never excuted, I made sure of the permissions on the cron file, and here is
the content of the cron file
<<
#!/bin/sh
lynx -dump localhost/daily_jobs.php > /dev/null
>>
I tried to remove the > /dev/null , but nothing changed and when I excute
the file manually by issuing ./daily_jobs.php it works just fine !!
so what the problem could be ?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net