Google
  Web www.spinics.net

Re: looking for inotifywait and similar help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Patrice Dumas wrote:
In both cases /etc is watched. That is something I would have liked to
avoid, because it will cause my script to wake up a lot, compared with
only looking at /etc/cron.d, /etc/crontab and /etc/fcrontab.
It looks like signalling that a file came into existence without
watching the directory the file is in is not possible with inotify
currently.

May be initialy check this file is exists, and if not just create (touch) empty if not? If we create new empty files, it is not add any job, but allow watch modify of it.

--
Pat


--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Home]     [Fedora Tools]     [Fedora PHP Devel]     [Kernel List]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

Add to Google Powered by Linux