I have a script which, when modified or added, automatically prints out
to a system printer that I define. Here is some sample code:
$job_desc=urldecode($job_desc);
define(PRINT_CMD, " lpr -Pis ");
$prt = "-\n";
$prt .= "| $type DRAWDOWN REQUEST |\n";
$prt .= "---
Are you specifying the full path in the crontab? If the raq 3 does not have lynx, you
might
be able to use wget. I'm not too familiar with wget, you may want to read the manpage.
Here's how I run PHP scripts from cron, when PHP is compiled as a DSO:
0 8 * * * TERM=xterm; export TERM; /usr/bin/
2 matches
Mail list logo