diff --git a/scripts/scheduler.sh b/scripts/scheduler.sh index b3d2b49..8386942 100755 --- a/scripts/scheduler.sh +++ b/scripts/scheduler.sh @@ -33,7 +33,7 @@ do /scripts/check_proxy_state.sh $DOMAIN; fi - elif [[ "${parent}" == "${DOMAIN_DIR}" && "${op}" == "CLOSE_WRITE,CLOSE" ]]; then + elif [[ "${parent}" == "${DOMAIN_DIR}" && "${op}" == "CLOSE_WRITE,CLOSE,MOVED_TO" ]]; then DOMAIN=$(echo $file);