Re: Running a task between this hour and this hour

2005-09-15 Thread Troy Daniels
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

Re: Running a task between this hour and this hour

2005-09-15 Thread duvelbier-tsmets
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

Re: Running a task between this hour and this hour

2005-09-15 Thread duvelbier-tsmets
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

Re: Running a task between this hour and this hour

2005-09-13 Thread J. David Boyd
<[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

Re: Running a task between this hour and this hour

2005-09-13 Thread Ninju Bohra
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 a task between this hour and this hour

2005-09-13 Thread duvelbier-tsmets
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