Questions tagged [incron]

For the incrontab command and incrond daemon which provide crontab-like tools but for file events using inotify.

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

Ubuntu: User 'uname' is not allowed to use [tool]

I found this cool tool called "incron." I think it will be a great productivity booster, but I am having issues getting it to run. sudo apt-get install incron ... Adding group `incron' ... ...
1
vote
1answer
36 views

incrontab is not triggering with end of cron sh invokes

I have this incrontab, which is monitoring the master Directory to check if the event occurs where a new file is placed here ... and run the php file. /var/www/html/docs/int/master IN_MOVE php /var/...
0
votes
2answers
59 views

How to do find and replace strings on file after it is being modified

Trying to achieve following: 1) New file gets uploaded with the same file name but with new content 2) Event triggers that checks the file for specific strings and replaces them 3) The file can be ...
2
votes
0answers
44 views

Monitoring directory using incron

I am using incron to monitor the file creation event of a directory. It working fine but once for 4 or 5 days its getting freeze. Once it's freeze, it's not monitoring the file creation event. It ...
0
votes
1answer
961 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
708 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
193 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
710 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
6k 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
1answer
505 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
2k 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
533 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
1k 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 ...