Date: Fri, 30 Apr 2010 18:57:16 +0200 From: fwd@gothschlampen.com (tk) To: Drew Tomlinson <drew@mykitchentable.net> Cc: questions@FreeBSD.ORG Subject: Re: 'at' command syntax Message-ID: <20100430165716.GA26660@gothschlampen.com> In-Reply-To: <4BDB0ACA.7040805@mykitchentable.net> References: <4BDB0ACA.7040805@mykitchentable.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100430165716.GA26660>