Watcher
Watcher copied to clipboard
Watcher is a daemon that watches specified files/folders for changes and fires commands in response to those changes. It is similar to incron, however, configuration uses a simpler to read yaml file i...
```python #!/usr/bin/env python3 # Copyright (c) 2010 Greggory Hernandez # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation...
Hi, i've adapted the fork with .ini config file support by splitbrain/Watcher. Now watcher.py works with modern Python3 distributions: https://github.com/klemens-u/Watcher-Python3
On running `./watcher.py start`, python is returning the following SyntaxError: ``` File "./watcher.py", line 62 except OSError, e: ^ SyntaxError: invalid syntax ``` Python version: 3.7.3 python-pyinotify version: 0.9.6 python-yaml...
Hello! Have got such multiple trace in server's log: ``` Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib64/python2.7/threading.py", line 812, in __bootstrap_inner self.run() File "/usr/lib/python2.7/site-packages/pyinotify.py", line 1511,...
Hi, Watcher fails with the following log file. `2019-10-16 18:55:25.665159 job1 Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "/usr/lib/python2.7/dist-packages/pyinotify.py", line...
Hello, I would try watcher in Debian Wheezy so when I launch ./watcher.py debug I have this error : 2013-10-23 15:44:29.731466 'str' object has no attribute 'iteritems' Traceback (most recent...
(Not really an issue, but...) Problem: Need to watch for attribute_change and when event occours, I need to change attributes. This logically ends up in an endless event/react loop. So...
Need to exclude directories with wildcard, for example /path/to/*/dev But does not seem to be supported...
It would be awesome if this tool could run as a service, under for example [supervisord](supervisord.org). This would mean delegating the pid management to the sub-service running the script. Does...
Folowing our previous conversation, things printed in stderr are not captured.