[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to set the date_time



On Thu, Dec 15, 2011 at 11:01 AM, lina <lina.lastname@gmail.com> wrote:
> On Fri, Dec 16, 2011 at 12:54 AM, Christofer C. Bell
> <christofer.c.bell@gmail.com> wrote:
>> On Thu, Dec 15, 2011 at 10:49 AM, lina <lina.lastname@gmail.com> wrote:
>>>
>>> Hi,
>>>
>>> (sorry a bit off-topic)
>>>
>>> when use qsub -a date_time,
>>>
>>> how do I set up it,
>>>
>>> qsub -a 2011.12.15_12:00:00 not work,
>>
>>
>> I don't know which version you're using (there are 2 packages that
>> contain that binary), but the man page I'm able to find online
>> indicates:
>>
>> -a date_time
>> Declares the time after which the job is eligible for execution.
>> The date_time argument is in the form:
>>
>> [[[[CC]YY]MM]DD]hhmm[.SS]
>> Where CC is the first two digits of the year (the century), YY is the
>> second two digits of the year, MM is the two digits for the month, DD
>> is the day of the month, hh is the hour, mm is the minute, and the
>> optional SS is the seconds.
>>
>> If the month, MM, is not specified, it will default to the current
>> month if the specified day DD, is in the future. Otherwise, the month
>> will be set to next month. Likewise, if the day, DD, is not specified,
>> it will default to today if the time hhmm is in the future. Otherwise,
>> the day will be set to tomorrow. For example, if you submit a job at
>> 11:15am with a time of -a 1110, the job will be eligible to run at
>> 11:10am tomorrow.
>>
>> This would mean to me that what you're looking for is:
>>
>> $ qsub -a 201112151200.00
>
> Wow... why I googled for pages without meeting above explaination.
>
> Really cool... Thanks,

No problem at all!  Here's the page I found, actually, so you can
refer to it yourself (and any others facing the same issue):

http://www.clusterresources.com/torquedocs/commands/qsub.shtml

-- 
Chris


Reply to: