added root and my username to allowed users, (altough allowed users aren't necessary at all, if I understood correctly)
added absolute paths to my incron job table like so: /home/username/directory IN_MOVED_TO /path/to/shell.sh because tilde ~ or $HOME does not work, also $@/$# seems to input anything at all into my script, so I removed $@/$# and make my script do all operations
I also checked with systemctl status incron.service and get: active, running, no errors in incron table
All looks fine on my side. Still, my shell script (set as executable and perfectly working in my IDE) doesn't trigger incron if I move files in /home/username/directory of /home/username/directory IN_MOVED_TO /path/to/shell.sh.
So the only valid explaination why I'm not succeeding is, your software must be outdated. If so, you could archive this project.
What I did so far:
/home/username/directory IN_MOVED_TO /path/to/shell.sh
because tilde~
or$HOME
does not work, also$@/$#
seems to input anything at all into my script, so I removed$@/$#
and make my script do all operationssystemctl status incron.service
and get: active, running, no errors in incron tableAll looks fine on my side. Still, my shell script (set as executable and perfectly working in my IDE) doesn't trigger incron if I move files in
/home/username/directory
of/home/username/directory IN_MOVED_TO /path/to/shell.sh
.So the only valid explaination why I'm not succeeding is, your software must be outdated. If so, you could archive this project.