You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expect, when I create a directory or file, that only in_create.sh will be called, but the logs show that both scripts in_create and in_delete are called.
I found a workaround by joining the 2 jobs in one and making a script who checks the nature of events and redirects to the right script, but I guess this behaviour is not normal.
I see in my logs lines like this one : $mkdir /some/dir/test
that's the same way i solved that issue. i redirected the according commands to functions in
one event-handler-script. it's easier to maintain. the script uses arguments (bash: $1 $2 ...)
to sort e.g. $tflags.
Activity
suminus commentedon Mar 11, 2016
hey gedeef,
that's the same way i solved that issue. i redirected the according commands to functions in
one event-handler-script. it's easier to maintain. the script uses arguments (bash: $1 $2 ...)
to sort e.g. $tflags.
cheers.