Can I catch outputs of executed commands?

From: bob <bob_at_theartistscollective.com>
Date: Fri, 21 Mar 2008 22:12:51 -0800

im watching /var/www/html
and if something is moved there incron will run /var/www/do.php
but i want to send all the output to a file /var/www/logs/stuff.log

would this work as a entry in the table?

/var/www/html IN_MOVED_TO /var/www/do.php>>/var/www/logs/stuff.log\ 2>&1 $@

??
Received on Sat Mar 22 2008 - 06:21:39 CET

This archive was generated by hypermail 2.2.0 : Tue Jun 05 2012 - 22:14:21 CEST