Add IGNORE_EVENTS_WHILE_COMMAND_IS_RUNNING feature
This commit is contained in:
@@ -26,3 +26,8 @@ MIN_PERIOD=10:00
|
||||
# In this example, we call a SageTV remote API to trigger a rescan of the imported media library. The command assumes
|
||||
# that we've installed the plugin called "sagex-services - SageTV Remote API Services".
|
||||
COMMAND="wget -nv -O /dev/null --auth-no-challenge http://sage:frey@192.168.1.102:8080/sagex/api?c=RunLibraryImportScan&1="
|
||||
|
||||
# This is a very good idea if your command modifies the WATCH_DIR in any way. You can easily trigger yourself because
|
||||
# most programs don't worry about checking the current state before making a change. e.g. chmod will set the mode of a
|
||||
# file even if it already has that mode.
|
||||
IGNORE_EVENTS_WHILE_COMMAND_IS_RUNNING=1
|
||||
|
||||
Reference in New Issue
Block a user