help-gnubatch
[Top][All Lists]
Advanced

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

Re: [help-gnubatch] How to specify date to run on command line


From: Wechsler, Steven
Subject: Re: [help-gnubatch] How to specify date to run on command line
Date: Wed, 15 Feb 2012 17:02:23 +0000

Is there a way to do this with days of the week rather than dates? For example:

Monday,15:42

The reason I ask is that I'm setting up a system so that jobs can be created 
with config files, but the date in the config file would be inaccurate if it's 
run a week after it's been created.

I could of course add a function to calculate the date of the next Monday, but 
it would be easier if this is already done.

Steve

-----Original Message-----
From: Reuti [mailto:address@hidden 
Sent: Wednesday, February 08, 2012 5:41 AM
To: Wechsler, Steven
Cc: address@hidden
Subject: Re: [help-gnubatch] How to specify date to run on command line

Am 07.02.2012 um 23:26 schrieb Wechsler, Steven:

> I think I've read all the documentation (including the man pages) and don't 
> seem to be able to figure out the correct format to specify a particular date 
> and time for the start of a job using gbch-r.
>  
> Can someone help me out?

Indeed, it seems nowhere to be specified in detail:

$ gbch-r -T "2012/05/17,15:42" ./test.sh $ gbch-jlist -T
12067 reuti test.sh   sh 150 1000 17/05/2012 15:42 

If you only need date exor time, you can leave the other out.

-- Reuti




reply via email to

[Prev in Thread] Current Thread [Next in Thread]