A second copy of the message with syntax of the header corrected. * From: Andrei Popescu <andreimpope...@gmail.com> * Date: Tue, 20 Dec 2011 22:55:21 +0200 # apt-get install incron $ incrontab -e # /home/pe/control.sh IN_MODIFY /home/pe/bin/do_stuff
Simple solution to a simple problem. Thanks. root@joule:/etc# cat /etc/incron.allow peter peter@joule:~$ ls -l script -rwx------ 1 peter peter 3607 Dec 21 11:06 script peter@joule:~$ /home/peter/script 14 peter@joule:~$ incrontab -l /home/peter/script IN_MODIFY /home/peter/script &> /home/peter/result >From another system, ftp a fresh version of script. peter@joule:~$ ls -l script -rwx------ 1 peter peter 3608 Dec 21 11:06 script It should have been executed with the stderr and stdout put into result but it failed. Any observations? Thanks again, ... Peter E. -- Telephone 1 360 639 0202. Former telephone 1 360 450 2132. bcc: peasthope ... shaw.ca "http://carnot.yi.org/" "http://members.shaw.ca/peasthope/index.html#Itinerary" -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/171057237.47530.28404@cantor.invalid