Package: <incron>
Version: <0.5.7-1>

I suggest that you should include the dnotify as recommend package because 
without it the incron command is executed only the first time the file changes, 
so I have to reload 
the incron file with incrontab -d 

r...@jarama:~# > log

r...@jarama:~# incrontab -l
/home/losnaranjos/public_html/habitatsoft/500654_UN.TXT IN_MODIFY 
/root/scripts/scriptnaranjos.sh

r...@jarama:~# echo /root/scripts/scriptnaranjos.sh
#!/bin/bash

date >> /home/aarango/log

r...@jarama:~# echo new >> 
/home/losnaranjos/public_html/habitatsoft/500654_UN.TXT
r...@jarama:~# cat /home/aarango/log
jue may 20 09:33:00 CEST 2010

r...@jarama:~# echo new >> 
/home/losnaranjos/public_html/habitatsoft/500654_UN.TXT
r...@jarama:~# cat /home/aarango/log
jue may 20 09:33:00 CEST 2010

r...@jarama:~# incrontab -d
r...@jarama:~# echo new >> 
/home/losnaranjos/public_html/habitatsoft/500654_UN.TXT
r...@jarama:~# cat /home/aarango/log
jue may 20 09:33:00 CEST 2010
jue may 20 09:37:00 CEST 2010


If I install dnotify package it's write twice.

Greetings.














-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to