From owner-freebsd-questions@FreeBSD.ORG Thu Feb 2 06:26:57 2012 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 36927106566C for ; Thu, 2 Feb 2012 06:26:57 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) by mx1.freebsd.org (Postfix) with ESMTP id F1A078FC0A for ; Thu, 2 Feb 2012 06:26:56 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email2.allantgroup.com (8.14.4/8.14.4) with ESMTP id q126QtLA077315 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 2 Feb 2012 00:26:56 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.5/8.14.5) with ESMTP id q126Qt6F076497 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 2 Feb 2012 00:26:55 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.5/8.14.5/Submit) id q126Qtxe076452; Thu, 2 Feb 2012 00:26:55 -0600 (CST) (envelope-from dan) Date: Thu, 2 Feb 2012 00:26:55 -0600 From: Dan Nelson To: Toomas Aas Message-ID: <20120202062655.GB5775@dan.emsphone.com> References: <20120202071814.20673llnbpp31iw4@webmail.raad.tartu.ee> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120202071814.20673llnbpp31iw4@webmail.raad.tartu.ee> X-OS: FreeBSD 8.2-STABLE User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.97.2 at email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (email2.allantgroup.com [199.67.51.78]); Thu, 02 Feb 2012 00:26:56 -0600 (CST) X-Scanned-By: MIMEDefang 2.68 on 199.67.51.78 Cc: freebsd-questions@freebsd.org Subject: Re: Identifying at jobs 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: Thu, 02 Feb 2012 06:26:57 -0000 In the last episode (Feb 02), Toomas Aas said: > I've been curious about this for a long time. > > Say I have three jobs scheduled with at, as seen with atq: > > # atq > Date Owner Queue Job# > Thu Jan 12 22:12:00 EET 2012 root c 6931 > Fri Jan 13 03:44:00 EET 2012 root c 6932 > Fri Jan 13 04:01:00 EET 2012 root c 6933 > > How do I tell which job does what? I can see the files corresponding > to jobs in /var/at/jobs: You want "at -c ". man at: -c Cat the jobs listed on the command line to standard output. -- Dan Nelson dnelson@allantgroup.com