0
votes
0answers
41 views

Incrontab looping on single file creation (CentOS 6.4)

As proof of concept I create an incrontab entry such as: /testdirectory IN_CREATE /root/scripts/copier.sh Where copier.sh does something like: #!/bin/sh sleep 1 /usr/bin/rsync /testdirectory/zz* ...
1
vote
1answer
1k views

Setting up inotify (incron) to monitor several directories using asterisk

I am trying to create an entry in /etc/incron.d/ that'd monitor all changes done under the following directories: /var/www/virtualhosts/dev.anuary.com/*/*/public/css Now, I assume this should be as ...