From owner-freebsd-questions@FreeBSD.ORG Sun Jan 17 19:30:36 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97C3B106566C for ; Sun, 17 Jan 2010 19:30:36 +0000 (UTC) (envelope-from dmontalvo@gmail.com) Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by mx1.freebsd.org (Postfix) with ESMTP id 6E61E8FC1D for ; Sun, 17 Jan 2010 19:30:36 +0000 (UTC) Received: by pwi15 with SMTP id 15so1421832pwi.3 for ; Sun, 17 Jan 2010 11:30:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=zjTa7bArq2TiEe6M/m14ZBRofhYKx3TM617xzw0c46w=; b=LXHsmzbnwAF337fC0lmdZ9wECcXbq8T4ZI1ls6W5m48CcFiU3GAH4uzcRy+V3ONvr8 LpLk6i9Nxq1ApwCILb4PK6VN9REYoW+Iu0V66Klr0m8sOjOL2xjQ/cXVSL0hY1Ub3O60 AW9MYqYTx2YDThnJJtx48haqqxw+iIrcGiljA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=YF+E/aH5FURKga4kuiKhI2I1NV8e5hFm6/NGg4J+jwyocbHMHEqQ1MaS2noRT4YaRG lN+GBEpL9itcEedrqA+BywFEoCgMBZdOE7mvPeiaBiiIE0/dhCSA4Cls7HhVzcahgycN GswaT0j1EinPy2an4UlvUyBXkt3741H/jpFtM= MIME-Version: 1.0 Received: by 10.142.1.27 with SMTP id 27mr3574091wfa.33.1263756635814; Sun, 17 Jan 2010 11:30:35 -0800 (PST) In-Reply-To: <91E8AD4B-C321-41C7-BA0E-E89E4D5CE40F@olivent.com> References: <91E8AD4B-C321-41C7-BA0E-E89E4D5CE40F@olivent.com> Date: Sun, 17 Jan 2010 11:30:35 -0800 Message-ID: From: Diego Montalvo To: mikel king Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Running PHP File under Crontab... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jan 2010 19:30:36 -0000 CLI meaning, if I can run and excute in command line, a php file can run in crontab? doing the following in shell: "# php helloworld.php" - "hello world" is produced... Thanks! 2010/1/17 mikel king : > > > On Jan 17, 2010, at 1:28 PM, Diego Montalvo wrote: > > I am wanting to execute a PHP file 5 times a day via crontab. Is it > possible? =A0If so what is the proper crontab command for this? > > Thanks, > Diego > > Diego, > Certainly, but you must ensure that you have the CLI version of PHP > installed. > > Regards, > Mikel King > CEO, Olivent Technologies > Senior Editor, BSD News Network > Columnist, BSD Magazine > 6 Alpine Court, > Medford, NY 11763 > o: 631.627.3055 c: 631.796.1499 > skype:mikel.king > http://olivent.com > http://mikelking.com > http://twitter.com/mikelking >