[HECnet] Stupid question - relative time to make SUBMIT/AFTER= work after 3 hours

Steve Davidson steve at davidson.net
Fri Apr 3 07:10:09 PDT 2015


I would model it after VMS. The documentation is already written. 😊

-Steve

Sent from my iPhone

> On Apr 3, 2015, at 09:37, Johnny Billquist <bqt at softjar.se> wrote:
> 
>> On 2015-04-02 00:40, Steve Davidson wrote:
>> Johnny,
>> 
>> You should fix that. 😊
> 
> Actually, Steve, you are right. I should.
> Right now, when I need such things, I use a helper program I've written, which do the date calculations, and gives me an absolute date, which I then use with submit.
> 
> What are the syntax that would make sense?
> +<n>[hours|days] I guess. Anything else? You you specify after n days, would it be expected to run after midnight?
> 
> A common case I have is also running next week, same time (I use that for my backups), and also last sunday in a specific month (use that for changing between daylight saving). Anyone have suggestions for nice ways of expressing such dates/times?
> 
>    Johnny
> 
>> 
>> -Steve
>> 
>> Sent from my iPhone
>> 
>>>> On Apr 1, 2015, at 15:26, Johnny Billquist <bqt at softjar.se> wrote:
>>>> 
>>>>> On 2015-04-01 21:22, Paul_Koning at Dell.com wrote:
>>>>> 
>>>>> On Apr 1, 2015, at 3:11 PM, Sampsa Laine <sampsa at mac.com> wrote:
>>>>> 
>>>>> I have a script I want to have resubmit itself to run every 3 hours, but can't get the relative time right...
>>>>> 
>>>>> What is the correct syntax for /AFTER= to say "3 hours from now"..?
>>>> 
>>>> Which OS?  VMS?
>>>> 
>>>> I don’t remember whether there are some differences here among operating systems.  On RSTS/E, you’d say /AFTER=+3HOURS (or +3H for short).
>>> 
>>> And in RSX you cannot specify relative times. And you can hardly specify relative dates either. TOMORROW is just about the only relative thing it knows about.
>>> 
>>>    Johnny
>>> 
>>> --
>>> Johnny Billquist                  || "I'm on a bus
>>>                                  ||  on a psychedelic trip
>>> email: bqt at softjar.se             ||  Reading murder books
>>> pdp is alive!                     ||  tryin' to stay hip" - B. Idol
> 
> 
> -- 
> Johnny Billquist                  || "I'm on a bus
>                                  ||  on a psychedelic trip
> email: bqt at softjar.se             ||  Reading murder books
> pdp is alive!                     ||  tryin' to stay hip" - B. Idol



More information about the Hecnet-list mailing list