From owner-freebsd-questions@FreeBSD.ORG Fri Apr 30 17:13:57 2010 Return-Path: Delivered-To: questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AA37E1065670 for ; Fri, 30 Apr 2010 17:13:57 +0000 (UTC) (envelope-from fwd@gothschlampen.com) Received: from vs.gothschlampen.com (vs.gothschlampen.com [85.93.11.85]) by mx1.freebsd.org (Postfix) with ESMTP id 72CF38FC15 for ; Fri, 30 Apr 2010 17:13:57 +0000 (UTC) Received: by vs.gothschlampen.com (Postfix, from userid 667) id 7FCA81D32F9; Fri, 30 Apr 2010 18:57:16 +0200 (CEST) Date: Fri, 30 Apr 2010 18:57:16 +0200 To: Drew Tomlinson Message-ID: <20100430165716.GA26660@gothschlampen.com> References: <4BDB0ACA.7040805@mykitchentable.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4BDB0ACA.7040805@mykitchentable.net> User-Agent: Mutt/1.5.13 (2006-08-11) From: fwd@gothschlampen.com (tk) Cc: questions@FreeBSD.ORG Subject: Re: 'at' command syntax 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: Fri, 30 Apr 2010 17:13:57 -0000 On Fri, Apr 30, 2010 at 09:52:26AM -0700, Drew Tomlinson wrote: Hi Drew, at reads its job from standard input, so basically you have to $ echo '$yourcommand' | at noon An alternative is to save you command in a small text file, and either $ cat $file | at noon or $ at -f $file noon Hope this helps Regards, Thomas > I'm am unable to figure out the proper syntax of the 'at' command. I've > read the man page over and over. I've attempted Google searches but > there is a lot of 'at' in the world. Can someone please point out > what's wrong with this syntax? > > at noon '/usr/local/bin/curl -u user:pass -d status="New products added > to catalog. Check out the demo videos! - http://bit.ly/7dtLny" > https://twitter.com/statuses/update.xml' > > I've tried various ways of specifying time but always get "at: > incomplete time". However if I just enter 'at noon', then I am in an > interactive mode where I can paste the command, end with ctrl-D, and my > job gets scheduled. What am I missing? > > Thanks, > > Drew > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"