At 05:42 AM 9/15/2005, [EMAIL PROTECTED] wrote:
Tx but ...
The question was send to the ANT-ML to implement is via ANT... :)
Except that the right way to do this is to create a separate task that
generates the stats, the create a cron job to run ant and perform that task
at night.
What doe
OK
so checking there is a "0" (zero) in the hours would be an good option for what
I need.
Tx,
\T,
--- Ninju Bohra <[EMAIL PROTECTED]> wrote:
> One way is to use the task with a custom pattern to contain only the
> hour (in 24hour
> format). Then using the task (from the ant-contrib proje
Tx but ...
The question was send to the ANT-ML to implement is via ANT... :)
\T,
--- "J. David Boyd" <[EMAIL PROTECTED]> wrote:
> <[EMAIL PROTECTED]> writes:
>
> > Running the stats on our code is a rather lenghty process (currently +/-70
> > minutes)... I therefore consider to run the target
<[EMAIL PROTECTED]> writes:
> Running the stats on our code is a rather lenghty process (currently +/-70
> minutes)... I therefore consider to run the targets only at night. Would
> someone have an hint on how to evaluate the current time and set a flag if
> it is between say : 10 PM and 6:00 AM
One way is to use the task with a custom pattern to contain only the
hour (in 24hour format). Then using the task (from the ant-contrib
project) along with the a condition (like the and
also from ant-contrib or write your own ) to control the setting
of a property (called "isLateNight")
Running the stats on our code is a rather lenghty process (currently +/-70
minutes)...
I therefore consider to run the targets only at night.
Would someone have an hint on how to evaluate the current time and set a flag
if it is between say
: 10 PM and 6:00 AM ?
Tx,
\T,
--
Any fool can write