command not executed?

From: Rob <rob.bast_at_gmail.com>
Date: Thu, 9 Dec 2010 17:30:33 +0100

I have the following in my root incrontab:

/home/rob IN_ALL_EVENTS /usr/bin/php5 /root/test.php $@/$# $& $%

I can see it triggers just fine in syslog:

Dec 9 17:13:28 fulfillment incrond[25764]: (root) CMD (/usr/bin/php5
/root/test.php /home/rob/test 32 IN_OPEN)
Dec 9 17:13:28 fulfillment incrond[25764]: (root) CMD (/usr/bin/php5
/root/test.php /home/rob/test 1 IN_ACCESS)
Dec 9 17:13:28 fulfillment incrond[25764]: (root) CMD (/usr/bin/php5
/root/test.php /home/rob/test 16 IN_CLOSE_NOWRITE)

But test.php doesn't actually seem to be called or executed (it should write
the arguments passed to log file).
When calling test.php manually it works fine (even when literally using the
lines between () from syslog above.

Does incrond not call the cmd?
Received on Tue Jun 05 2012 - 22:14:21 CEST

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