Hi All, Is there a simple way to call an external script at the end of a purge run?
My use case is as follows: we have /scratch/projectNN/userid/ directories, and at the end of a purge run I want to create a /scratch/projectNN/purgelog-YYYY-DD-MM file with just the files removed for projectNN (rather than the whole robinhood_purge.log - I was just going to grep out the relevant entries) Although I can simply put the robinhood_purge.log under logrotate control, and call something with postrotate, there's a risk that if the logrotate happens mid-purge some of the entries won't be reported till the next logrotate run. Similarly I could run "robinhood --purge --once ; parselog.pl" from cron, but then I need to worry about locking incase two purge processes run at once. Anyone have other ideas or examples? Andrew ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ robinhood-support mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/robinhood-support
