Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #1287

Re: at syntax

From General Schvantzkoph <schvantzkoph@yahoo.com>
Newsgroups comp.os.linux.misc
Subject Re: at syntax
Date 2011-05-30 23:16 +0000
Message-ID <94imphF634U2@mid.individual.net> (permalink)
References <94i4ppF634U1@mid.individual.net> <YKSEp.24084$ar1.22603@newsfe08.iad>

Show all headers | View raw


On Mon, 30 May 2011 16:04:07 -0400, Lew Pitcher wrote:

> On May 30, 2011 14:08, in comp.os.linux.misc, schvantzkoph@yahoo.com
> wrote:
> 
>> at adds a week to a day if the day is today. To clarify if today is
>> Monday and I schedule something as
>> 
>> at 10:00 PM MON < foo
>> 
>> it will execute foo a week from today rather than tonight. I'm using
>> scripts to schedule events so I don't want to us TODAY to specify the
>> date, I want to use the generic day of the week. Is there a way to make
>> at schedule an event on the same day or do I have to put a date test
>> into the script?
> 
> Try
>   at 10pm
> for 10 pm today

I need to be able to specify the day but have it do the right thing. The 
script might be executed on any day so if teh script gets executed on 
Tuesday and it schedules something on Monday then that event will happen 
on the next Monday but if the script gets called on Monday morning and the 
event is for Monday night then it will execute that night not the next 
week.

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

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