From owner-freebsd-questions Sun Oct 4 00:18:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA26656 for freebsd-questions-outgoing; Sun, 4 Oct 1998 00:18:49 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from dt053nb4.san.rr.com (dt053nb4.san.rr.com [204.210.34.180]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA26651 for ; Sun, 4 Oct 1998 00:18:48 -0700 (PDT) (envelope-from Studded@dal.net) Received: from dal.net (Studded@localhost [127.0.0.1]) by dt053nb4.san.rr.com (8.8.8/8.8.8) with ESMTP id AAA03610; Sun, 4 Oct 1998 00:18:23 -0700 (PDT) (envelope-from Studded@dal.net) Message-ID: <3617213F.947CE83A@dal.net> Date: Sun, 04 Oct 1998 00:18:23 -0700 From: Studded Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.06 [en] (X11; I; FreeBSD 2.2.7-STABLE-0929 i386) MIME-Version: 1.0 To: Dan Nelson CC: FreeBSD Questions Subject: Re: Anyone using 'at' ? References: <36170915.CBBD5189@dal.net> <19981004012615.A887@emsphone.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ahhhh... this is why I love freebsd. :) Dan Nelson wrote: > > In the last episode (Oct 03), Studded said: > > I got interested in using the 'at' utility to schedule some work and > > found out that it doesn't seem to be matching the behavior described > > in the man pages. I am loathe to call this a bug because I'm totally > > unfamiliar 'at' and it might be pilot error. > > > > To start with, if I type in a very simple command like: > > > > at 22:29 command > > > > it never returns, and the job never executes. Doing anything more > > exciting (like is described in the man page) such as: > > Check the manpage. At expects the script to be supplied from stdin (or > a filename specified by -f). Heh, I've read the man page about 148 times now. :) It's completely without examples though, so some of the info didn't click till I read what you said. Doing it like this works: at -f file now + 5 minutes or: at now + 5 minutes type in commands type in more commands ^D or finally: echo 'do this thing' | at now + 5 minutes > > at now + 5 seconds command > > > > I get "at: incomplete time" > > The manpage doesn't list a seconds parameter. Yeah, I meant minutes but that wasn't the error. It was the fact that I tried to specify the command all on the same line. Thanks VERY much, :) Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message