From owner-freebsd-questions@FreeBSD.ORG Mon Jun 14 12:15:42 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 2237D106568F for ; Mon, 14 Jun 2010 12:15:42 +0000 (UTC) (envelope-from j.mckeown@ru.ac.za) Received: from a.mail.ru.ac.za (a.mail.ru.ac.za [IPv6:2001:4200:1010::25:1]) by mx1.freebsd.org (Postfix) with ESMTP id 1BDAB8FC1E for ; Mon, 14 Jun 2010 12:15:41 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=ru-msa; d=ru.ac.za; h=Received:From:Organization:To:Subject:Date:User-Agent:References:In-Reply-To:X-Face:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-Disposition:Message-Id:X-Virus-Scanned:X-Authenticated-User; b=HaOI8/rTLNtjVKH3OzqAhTYiBGZu4gwq4t/UmTVp9IIH/gjUhjQLO+SxP7UR/HzUVkogIgZNQgYcKYTSgdw/05COPRSyPOfrKwvMVrvnhezZEYiFv53rw3Y1HBvFSWeF; Received: from vorkosigan.ru.ac.za ([2001:4200:1010:1058:219:d1ff:fe9f:a932]:49415) by a.mail.ru.ac.za with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1OO8Zm-000BbU-Ls for freebsd-questions@freebsd.org; Mon, 14 Jun 2010 14:15:38 +0200 From: Jonathan McKeown Organization: Rhodes University To: freebsd-questions@freebsd.org Date: Mon, 14 Jun 2010 14:15:38 +0200 User-Agent: KMail/1.9.10 References: In-Reply-To: X-Face: $@VrUx^RHy/}yu]jKf/<4T%/d|F+$j-Ol2"2J$q+%OK1]&/G_S9(=?utf-8?q?HkaQ*=60!=3FYOK=3FY!=27M=60C=0A=09aP=5C9nVPF8Q=7DCilHH8l=3B=7E!4?= =?utf-8?q?2HK6=273lg4J=7Daz?=@1Dqqh:J]M^"YPn*2IWrZON$1+G?oX3@ =?utf-8?q?k=230=0A=0954XDRg=3DYn=5FF-etwot4U=24b?=dTS{i X-Virus-Scanned: a.mail.ru.ac.za (2001:4200:1010::25:1) X-Authenticated-User: s0900137 from vorkosigan.ru.ac.za (2001:4200:1010:1058:219:d1ff:fe9f:a932) using auth_plaintext Subject: Re: Simulate CRON 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: Mon, 14 Jun 2010 12:15:42 -0000 On Monday 14 June 2010 13:39:15 Carmel wrote: > On Mon, 14 Jun 2010 16:41:19 +0530 > > Amitabh Kant articulated: > > On Mon, Jun 14, 2010 at 3:42 PM, Carmel wrote: > > > I saw a posting here months ago regarding a way to simulate running > > > a script under CRON. I wrote it down and now cannot find it. > > > Googling has not proved very useful either. I just cannot remember > > > the program name. > > > > > > I hope I am explaining this sanely enough. > > > > Are you looking for a cron syntax check? If yes, then this site > > should be of some help: > > > > http://www.hxpi.com/cron_sandbox.php > > No, sorry. There was a command or program, I forgot which, that would > allow a user to run a program under another environment, similar to the > environment that a script under CRON would be running under. env(1)? =46rom the manpage: The env utility executes another utility after modifying the environment as= =20 specified on the command line. Jonathan