Re: Printing using php script CRON
| From: | Vern | Date: | Tue, 27 Jul 2004 13:01:27 +0000 |
| Subject: | Re: Printing using php script CRON | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-191967@lists.php.net to get a copy of this message | ||
One would think this should be really simple but it's not.
I need to retrieve the file somewhere on the internet. I read somewhere in
order to read a php script's output you need to add the "php" command in
front, as such:
php http://yoursite.com/cronjob.php | lpr -P hp1300n
however I am getting the following error:
Status: 404 suggesting that the page doesn't exist, however it does. Is
there something I am missing here?