'at' command syntax
tk
fwd at gothschlampen.com
Fri Apr 30 17:13:57 UTC 2010
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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions
mailing list