Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.misc > #1293
| From | Chris Davies <chris-usenet@roaima.co.uk> |
|---|---|
| Newsgroups | comp.os.linux.misc |
| Subject | Re: at syntax |
| Date | 2011-05-31 14:54 +0100 |
| Organization | Roaima. Harrogate, North Yorkshire, UK |
| Message-ID | <1h8fb8xbmc.ln2@news.roaima.co.uk> (permalink) |
| References | <94i4ppF634U1@mid.individual.net> <0dmeb8xqa8.ln2@news.roaima.co.uk> <94k5nhF7lqU1@mid.individual.net> |
General Schvantzkoph <schvantzkoph@yahoo.com> wrote:
> I wrote a wrapper that checks the day and fixes it, but I would prefer if
> there was a way for at to do the right thing itself,
As far as I can tell from the requirement in your original post, "at"
does do the right thing itself.
at -V
at version 3.1.12
# Assuming it's now midday,
at 10pm today # tonight
at 9am today # fails, because 9am has already happened
I must admit that I don't understand, given you want something to happen
"today", why you are loathe to use the "today" qualifier.
With regards to your scriptlet you pasted, isn't this fundamentally the
same as something like this?
at 2200 `date +'%e %b %Y'` # 10pm today, with explicit date
Chris
Back to comp.os.linux.misc | Previous | Next — Previous in thread | Next in thread | Find similar
at syntax General Schvantzkoph <schvantzkoph@yahoo.com> - 2011-05-30 18:08 +0000
Re: at syntax Lew Pitcher <lpitcher@teksavvy.com> - 2011-05-30 16:04 -0400
Re: at syntax General Schvantzkoph <schvantzkoph@yahoo.com> - 2011-05-30 23:16 +0000
Re: at syntax Chris Davies <chris-usenet@roaima.co.uk> - 2011-05-31 09:44 +0100
Re: at syntax General Schvantzkoph <schvantzkoph@yahoo.com> - 2011-05-31 12:37 +0000
Re: at syntax Chris Davies <chris-usenet@roaima.co.uk> - 2011-05-31 14:54 +0100
Re: at syntax General Schvantzkoph <schvantzkoph@yahoo.com> - 2011-05-31 18:52 +0000
Re: at syntax Chris Davies <chris-usenet@roaima.co.uk> - 2011-06-02 21:03 +0100
Re: at syntax dave.gma+news002@googlemail.com.invalid (Dave Gibson) - 2011-06-02 22:24 +0100
Re: at syntax Chris Davies <chris-usenet@roaima.co.uk> - 2011-06-03 09:34 +0100
Re: at syntax General Schvantzkoph <schvantzkoph@yahoo.com> - 2011-06-03 13:21 +0000
Re: at syntax Chris Davies <chris-usenet@roaima.co.uk> - 2011-06-03 15:46 +0100
Re: at syntax Kevin Snodgrass <kdsnodgrass@yahoo.com> - 2011-06-01 02:08 +0000
Re: at syntax General Schvantzkoph <schvantzkoph@yahoo.com> - 2011-06-01 02:50 +0000
Re: at syntax Kevin Snodgrass <kdsnodgrass@yahoo.com> - 2011-06-01 04:30 +0000
Re: at syntax Kevin Snodgrass <kdsnodgrass@yahoo.com> - 2011-06-01 04:31 +0000
Re: at syntax Kevin Snodgrass <kdsnodgrass@yahoo.com> - 2011-06-01 04:31 +0000
Re: at syntax Kevin Snodgrass <kdsnodgrass@yahoo.com> - 2011-06-01 04:30 +0000
csiph-web