Re: Cannot execute... Cron jobs
| From: | Leif K-Brooks | Date: | Thu, 13 Mar 2003 05:20:38 +0000 |
| Subject: | Re: Cannot execute... Cron jobs | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-139439@lists.php.net to get a copy of this message | ||
You can do that, but it's much less secure.
Scott Holmes wrote:
I'd just like to interject here that I execute php code from cron and I do not have php compiled as a cgi. I use lynx. Here is a sample of what I'm doing to e-mail a weekly newsletter to a membership database: #!/bin/sh LYNX_TEMP_SPACE=/tmp TMPDIR=/tmp TERM=vt100 lynx -dump http://localhost/WFCC/mail_ltrs.php-- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.