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

Re: [Condor-users] Testing for file existance before scheduling a job





Rob Sherwood wrote:

On Tue, Jan 08, 2008 at 09:42:23AM +0000, Matt Hope wrote:
On Jan 7, 2008 9:07 PM, Rob Sherwood <capveg@xxxxxxxxxx> wrote:
Obviously this is not automated, if you prefer that you can look at
things like Hawkeye to automate the setting of the attribute but the
basic principle remains the same...

Thank you Matt (and others) for the fast response.

I guess I should have included more information; the file I'm testing
for is on an automounted nfs partition.  On some of the machines I'm
running on, the automounter periodically dies, the file system becomes
unavailable, and my program is unable to run.  So, I guess in the above
context, I want the HasTheFlibbleFile flag to be automatically and
dynamically updated.

Looking at the webpage, it looks like hawkeye should be able to do all
this.

A common source of confusion is that Hawkeye is often used synonymously with STARTD_CRON. For what you are trying to do, you want to use STARTD_CRON features, not the standalone Hawkeye monitoring system. STARTD_CRON allows you to run a script periodically that advertises something in the machine ClassAd, such as whether a particular file is available.

--Dan