It stands for "inotify cron" system. Similar to the regular cron. The difference is that it handles filesystem events rather than time periods.
Questions tagged [incron]
50 questions
0
votes
1 answer
Using Incron with Git for automatic backups
I'm trying to use Incron on Centos 7 to watch a directory for changes and back those changes up into a local git repo.
As a test, I've created the following:
/root/srv <-- The live source directory
/root/git <-- The backup location…

Photovor
- 403
- 1
- 6
- 17
0
votes
1 answer
How to Edit File via incrond/python
How would one go about making a script to first edit a newly found file within a specific directory, and then upload it through incron/python? I'm a bit confused as how to specify the filename as a string in the python script.
incrontab -e…

icehac
- 147
- 5
- 14
0
votes
2 answers
How to read a folder and move newly created files to two different network locations
I have a folder on my server which get files from a ftp process running in another server.
What I need is to, whenever new file appears in the directory, move those files to another two network locations interchangeably. (In load-balancing manner -…

U-map
- 11
- 2
0
votes
1 answer
Incron Job creating multiple Files
I am using RedHat (rhelsvrbase64-6.2) version.
I have written an incron job to convert a file(i.e. in utf-16le format) to UTF-8 Format.
When i am running my job, It is creating multiple UTF-8 copies of my file.
My incrontab script is as…

user1999858
- 11
- 1
- 4
0
votes
1 answer
Symfony2 command different behavior in cli and from incron
I'm using incron to watch a folder and each time a file is uploaded to it a Symfony2 command is executed to encode a video and store it in my application.
The encoding is made through shell scripts using ffmpeg. It works fine when I use the command…

user3227518
- 1
- 1