Re: [CentOS] Inotify or equivalent

2009-05-01 Thread Les Mikesell
Joseph L. Casale wrote: > > /me Throwing hands in the air... > > Aside from a manual cron job, or explicit admin intervention each time a > company is made, I'm at a loss. I think some people have gone so far as running a windows server under vmware to run the quickbooks share -- Les

Re: [CentOS] Inotify or equivalent

2009-05-01 Thread Joseph L. Casale
>I used the example 2 in the inotifywait manpage as the starting point >for my script. Using the close_write, create & move events worked well >for me. Looked at incrond - seemed overkill/overcomplicated - chose not >to use it. > >But if it's fighting with something else in the background trying to

Re: [CentOS] Inotify or equivalent

2009-05-01 Thread JohnS
On Fri, 2009-05-01 at 20:07 +, Joseph L. Casale wrote: > >After the client exits the data base with the QB > >client the files are changed and the client can't work with them. > > Actually, they can but they can't delete files when they make test > companies for example. Ahh now you say! The

Re: [CentOS] Inotify or equivalent

2009-05-01 Thread Gary Greene
nal Message- > From: centos-boun...@centos.org > [mailto:centos-boun...@centos.org] On Behalf Of JohnS > Sent: Friday, May 01, 2009 2:38 PM > To: CentOS mailing list > Subject: Re: [CentOS] Inotify or equivalent > > > On Fri, 2009-05-01 at 20:07 +, Joseph L. Casale w

Re: [CentOS] Inotify or equivalent

2009-05-01 Thread Toby Bluhm
Joseph L. Casale wrote: > I installed inotify and incrond to watch a directory and set the > job as '/mnt/dir IN_ATTRIB chmod 0660 $@/$#' which worked very well > except that as expected, IN_ATTRIB is to broad of a watch class as it > caused an enormous amount of contention with the filemonitor and

Re: [CentOS] Inotify or equivalent

2009-05-01 Thread Joseph L. Casale
>After the client exits the data base with the QB >client the files are changed and the client can't work with them. Actually, they can but they can't delete files when they make test companies for example. >The changes are being done on the Linux side by gamin (filemon). > >I do question what wo

Re: [CentOS] Inotify or equivalent

2009-05-01 Thread JohnS
On Fri, 2009-05-01 at 12:08 -0700, Bill Campbell wrote: > On Fri, May 01, 2009, Joseph L. Casale wrote: > >I installed inotify and incrond to watch a directory and set the > >job as '/mnt/dir IN_ATTRIB chmod 0660 $@/$#' which worked very well > >except that as expected, IN_ATTRIB is to broad of a

Re: [CentOS] Inotify or equivalent

2009-05-01 Thread Bill Campbell
On Fri, May 01, 2009, Joseph L. Casale wrote: >I installed inotify and incrond to watch a directory and set the >job as '/mnt/dir IN_ATTRIB chmod 0660 $@/$#' which worked very well >except that as expected, IN_ATTRIB is to broad of a watch class as it >caused an enormous amount of contention with t

[CentOS] Inotify or equivalent

2009-05-01 Thread Joseph L. Casale
I installed inotify and incrond to watch a directory and set the job as '/mnt/dir IN_ATTRIB chmod 0660 $@/$#' which worked very well except that as expected, IN_ATTRIB is to broad of a watch class as it caused an enormous amount of contention with the filemonitor and/or db server and the client sid