Answer the question
In order to leave comments, you need to log in
How to make incron see new folders?
Hello. I want to track the change of files (write) in a folder. I made this setting
/root/var/ IN_CLOSE_WRITE curl "https://api.telegram.org/......."
Answer the question
In order to leave comments, you need to log in
incron
, more precisely, inotify()
it does not know how to recursively bypass directories. So you have to write the full path to the directory/root/var/yourfolder/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question