"be consistent" | |
PerlMonks |
Re: Using flag files to monitor cluster jobsby chromatic (Archbishop) |
on Oct 26, 2005 at 22:32 UTC ( [id://503184]=note: print w/replies, xml ) | Need Help?? |
If you're working on an operating system that has some kind of file monitoring or file notification system, you can avoid the (admittedly simple) sleep loop by registering interest in file creation or deletion. SGI::FAM is an old module that gives access to SGI's FAM library. (See The Watchful Eye of FAM for more.)
In Section
Seekers of Perl Wisdom
|
|