<div dir="ltr">I was messing around with getting 4.2.1 set up with full text indexing, using a postgresql db.  When I got to the part of the instructions for setting up the cron job, I noted the instructions advised that "Care should be taken to insure that multiple instances of rt-fulltext-indexer are not run at the same time."  My solution for this was to install <b>Sys::RunAlone</b> through cpan and then add to the <b>rt-fulltext-indexer</b> script the following line:<div>
<br></div><div><b>use Sys::RunAlone;</b></div><div><br></div><div>I placed this after the <b>use warnings;</b> line near the head of the file</div><div><br></div><div>I had to add <b>__END__</b> to the end of the file to use the library, but when I intentionally triggered the script twice, the response to the second trigger was:</div>
<div><br></div><div>"<b>A copy of '/opt/rt4/sbin/rt-fulltext-indexer' is already running</b>"</div><div><br></div><div>VL</div><div><div>quis custodiet ipsos custodes</div>
</div></div>