From owner-freebsd-questions@FreeBSD.ORG Sat Mar 4 05:04:40 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 1F64A16A420 for ; Sat, 4 Mar 2006 05:04:40 +0000 (GMT) (envelope-from noeldude@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7882143D49 for ; Sat, 4 Mar 2006 05:04:39 +0000 (GMT) (envelope-from noeldude@gmail.com) Received: by nproxy.gmail.com with SMTP id p48so561938nfa for ; Fri, 03 Mar 2006 21:04:38 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=f3PCjhUy9pfO+Q1ZsAQb3eB88Iq3nQ+ek3Yar5GNJGcfRMJDywQK+iaPhy8gww+C+xmKsQHWLv5qxogPTlDiQOF1ffG21vYnJ3TokzVgetkqLUk58cG+icrvqc3UsjnOFx4IERmnmI1qnNkkaRZB1YBpJOZ2Ra8KvuZ1zwDqyc8= Received: by 10.49.35.19 with SMTP id n19mr1420266nfj; Fri, 03 Mar 2006 21:04:38 -0800 (PST) Received: by 10.49.31.6 with HTTP; Fri, 3 Mar 2006 21:04:38 -0800 (PST) Message-ID: Date: Fri, 3 Mar 2006 23:04:38 -0600 From: "Noel Jones" To: freebsd-questions@freebsd.org In-Reply-To: <2a5241e00603031657h21aadc95vdc528553a9348c70@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <2a5241e00603031657h21aadc95vdc528553a9348c70@mail.gmail.com> Subject: Re: switching timezone within 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: Sat, 04 Mar 2006 05:04:40 -0000 On 3/3/06, Danny Howard wrote: > Hey, > > So, we have systems running in Eastern and Pacific time zones as their > local time, not to mention DST. So, we like to schedule a few things > with UTC to save our sanity. > > If a system is not running UTC as its locale, but I want to schedule a > UTC cron job in crontab, is it sufficient to put a little: > TZ=3DUTC > Right before the job? > Pretty sure the above will only set the timezone for your job, and not alter the schedule time. But I don't know a solution to your problem. -- Noel Jones