From owner-freebsd-questions@FreeBSD.ORG Mon Jan 2 17:20:44 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 F3A1716A41F for ; Mon, 2 Jan 2006 17:20:43 +0000 (GMT) (envelope-from fquest@ccstores.com) Received: from mail.qcislands.net (mail.qcislands.net [209.53.238.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id E779843D64 for ; Mon, 2 Jan 2006 17:20:36 +0000 (GMT) (envelope-from fquest@ccstores.com) Received: from [64.114.58.101] (helo=[192.168.1.4]) by mail.qcislands.net with esmtp (Exim 4.60) (envelope-from ) id 1EtTMI-00005S-Ev; Mon, 02 Jan 2006 09:20:34 -0800 Message-ID: <43B960E3.9050408@ccstores.com> Date: Mon, 02 Jan 2006 09:20:35 -0800 From: Jim Pazarena Organization: City Centre Stores Ltd User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-local_scan: locally submitted (01) Subject: specifying a day for at command 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, 02 Jan 2006 17:20:44 -0000 I want to run a job every 00:05 sunday morning. It is a script which run for a few minutes, then attempts to re-submit itself via at. at the end of the script, it has: echo "/usr/local/bin/script" | at 00:05 sunday this produces an error message: at:trying to travel back in time yes, cron could do it, but I would like to run it with at. on my old unix OS (SCO) I could enter at 00:05 next sunday, which would work. trying: at 00:05 + 7 days (on sunday at approx 00:10) gets queued for next Monday. is there a way to do this? Thanks, Jim