From owner-freebsd-questions Sat Oct 6 20:31: 4 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail12.speakeasy.net (mail12.speakeasy.net [216.254.0.212]) by hub.freebsd.org (Postfix) with ESMTP id A86E037B401 for ; Sat, 6 Oct 2001 20:31:02 -0700 (PDT) Received: (qmail 85205 invoked from network); 7 Oct 2001 03:31:01 -0000 Received: from unknown (HELO mgm) ([66.92.216.5]) (envelope-sender ) by mail12.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 7 Oct 2001 03:31:01 -0000 Message-ID: <006201c14ee0$7f397f80$05d85c42@speakeasy.net> Reply-To: "jason" From: "jason" To: Subject: creating conf files through scripting Date: Sat, 6 Oct 2001 23:31:04 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I need some help with creating files based on data stored in mysql. I know how to do this with PHP but don't know if I can call on a PHP script via CRON. I also don't know how to use SH to read from mysql and write to files. I have searched FreeBSD.ORG, and PHP.NET and have not found a solid answer to what I am trying to do here. Can Anyone point me in the write direction? Or point me to a comprehensive reference guide for using SH? Or maybe tell me if and how I can call on PHP scripts to do what I want? So far everything I read on PHP is web server based. Thank Jason Cribbins MGM Communications LLC Owner (one man wrecking crew) ps Thanks for all who helped me with BIND/DHCP earlier. I finally have both working the way I need. Well at least it seems like everything is fine. Only time will tell. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message