incron
incron copied to clipboard
BUG incron does not respond to writing new files in a new folder
I want to track file changes (writing) in a folder. I made this parameter
/root/var/ IN_CLOSE_WRITE curl "https://api.telegram.org/......."
And if I load a file into the var folder, curl will work, but if I create a new folder at the beginning and load a file there, nothing will happen. How can this be fixed?
does it work if you remove the trailing slash from /root/var/ in your crontab entry?