Questions tagged [incron]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
17 views

incron doesn't execute command

I'm trying out incron at the moment and don't get it to work. I'm on a centos virtual machine (vbox). What i did until now: installed incron: sudo yum install incron i created the file /etc/incron....
0
votes
0answers
26 views

incrond - “invalid user” on reboot, works fine after manually restarting service

CentOS 7 on several systems - VM, and hardware. When any of these systems reboots, incrond starts, but won't load my table. $ sudo systemctl -a | grep incrond incrond.service ...
0
votes
1answer
163 views

Errors on trigger of incrond scripts

I have incron installed on my centos 7 machine. for my initial testing, I have a simple entry in the table. When a file is moved to the target folder, it would run a script. What I did first was to ...
3
votes
0answers
284 views

Copying files and folders to /var/www/html - inherit permissions of ./html

I want to enforce web server security and maintain 750 for folders and 640 for files - even when copying, at all times, under all circumstances. So far, I've got this working quite well. This is what ...
0
votes
0answers
117 views

abrt-server sent an email to root@localhost, but there are no updates in var/mail/root

I'm debugging an issue with python and incron, when I run my script, and then checking the status, it says it has an error. then it said it sent an email to root@localhost, I'm assuming this is at /...
2
votes
0answers
529 views

Unison and Incron shell script

I have successfully installed unison and incron. I get unison to run just fine. I'm doing this all logged in as root by the way, I figure that's how this will be executed when i'm not logged in. I'm ...
2
votes
2answers
4k views

User's incrontab not working (only root's) when incrond is run as a service

Here is my incrontab (tony's incrontab): /home/tony/Workspace/cocoonr/ui/static/ui/img/icons/vector IN_MODIFY,IN_CREATE,IN_MOVED_TO /bin/sh /home/tony/Workspace/cocoonr/boilerplate/svg2djangohtml $@/$...
1
vote
0answers
384 views

incrontab on folder name containing line feeds

I'm writing a script searching for directories in a subtree and appending them to incrontab. I can even add folder names with blanks by escaping those with a backslash: /path/to/observed\ directory ...
1
vote
2answers
1k views

Allow one entry at a time in incron job?

I have a directory to monitor. When it is updated, I run some command via incron. When multiple files are copied in this directory, incron execute multiple commands at the same time. Is there any way ...
0
votes
1answer
469 views

Incrontab / Incron on Cygwin

Does anyone please know if it is possible to install incron/incrontab within Cygwin? I've had a look and the package does not appear on the cygwin website, I wondered if anyone had tried, knew of any ...
1
vote
1answer
913 views

Incrontab does not execute command

When I use incrontab out of the box, I mean no changes, I get no result, as if the command was not executed. my incron line is : /crrae IN_CREATE,IN_CLOSE_WRITE,IN_MOVED_TO /usr/bin/unix2dos $# the ...