From owner-freebsd-questions@FreeBSD.ORG Mon May 3 11:36:12 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB07C16A4CE for ; Mon, 3 May 2004 11:36:12 -0700 (PDT) Received: from internet.potentialtech.com (h-66-167-251-6.phlapafg.covad.net [66.167.251.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F8C843D2D for ; Mon, 3 May 2004 11:36:12 -0700 (PDT) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com (pa-plum1c-102.pit.adelphia.net [24.53.179.102]) by internet.potentialtech.com (Postfix) with ESMTP id 995D169A7C; Mon, 3 May 2004 14:36:11 -0400 (EDT) Message-ID: <409690C8.5060704@potentialtech.com> Date: Mon, 03 May 2004 14:34:48 -0400 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040422 X-Accept-Language: en-us, en MIME-Version: 1.0 To: leroy@3dmasters.net References: <000401c4313b$ce3bbef0$6864a8c1@3dmdomain.local> In-Reply-To: <000401c4313b$ce3bbef0$6864a8c1@3dmdomain.local> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: questions@freebsd.org Subject: Re: Cron Setting up X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 May 2004 18:36:12 -0000 Leroy Isbell 3DMASTERS wrote: > > Hello All, > > I need a little help in setting a cron job. I have a php command script i > need to have run Daly. > I am using freebsd stable 4.9. What have you tried to do so far? One thing you might find easier than cron is periodic. See "man periodic" and take a look at the scripts in /etc/periodic/daily/ You can simply add your script to that directory, and periodic will execute it daily with all the others. -- Bill Moran Potential Technologies http://www.potentialtech.com