RE: [PHP] Printing using php script CRON

From: Date: Tue, 27 Jul 2004 12:25:40 +0000
Subject: RE: [PHP] Printing using php script CRON
Groups: php.general 
Request: Send a blank email to php-general+get-191961@lists.php.net to get a copy of this message
[snip] I hate to keep beating a dead horse, but this horse is not quite dead yet. I need to print a php script from a web site using CRON. I'm thinking something like this should work but I don't know enough about it to say that it would. I know that I can run a php script using CRON as such: lynx --dump http://yoursite.com/cronjob.php >/dev/null Can I not output this data to a printer? [/snip] If you have a printer attached to the server from where the cron is running you might try lynx --dump http://yoursite.com/cronjob.php >lpt1 or something similar. Not tested.

« previous php.general (#191961) next »