diff --git a/cron_MINUTE.sh b/cron_MINUTE.sh index db7e161..cdd1c7d 100755 --- a/cron_MINUTE.sh +++ b/cron_MINUTE.sh @@ -110,7 +110,7 @@ if [[ "$YOU" == "xbian" ]]; then inotifywaitRunning=$(ps auxf --sort=+utime | grep -w inotifywait | grep -w astroport | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d ' ' -f 1) if [[ "$inotifywaitRunning" != "xbian" ]] then - /usr/bin/inotifywait -r -e close_write -m /home/$YOU/astroport | while read dir flags file; do $MY_PATH/zen/new_file_in_astroport.sh "$dir" "$file"; done & + /usr/bin/inotifywait -r -e close_write -m /home/$YOU/astroport | while read dir flags file; do $MY_PATH/zen/new_file_in_astroport.sh "$dir" "$file"; done >> /tmp/astroport.inotify.log 2>&1 & fi fi