danfruehauf / incron Goto Github PK
View Code? Open in Web Editor NEWincron - forked from http://inotify.aiken.cz/?section=incron
License: Other
incron - forked from http://inotify.aiken.cz/?section=incron
License: Other
Hello, I needed support for Ubuntu for your great recursive version, so I create workaround.
I've written init.d
script for Debian/Ubuntu systems. I modified Makefile
to automatically add this script to /etc/init.d/incron
and create service
.
Could we merge it somehow (other branch maybe)? Or should it remain only in my repository and should I rename it something like: incron-debian-ubuntu
?
Thanks in advance for your reply or some feedback :)
What have i done so far?
I set up my table as followed: incrontab -e
/folder/.hiddenfolder/file IN_ATTRIB cp /folder/.hiddenfolder/file /folder/.hiddenbackup/$$(date +%Y%m%d)_file
After Accessing my file
and saving the changes I do get my backup file.
On ls -l /folder/.hiddenbackup/
id shows me my file named: 20200208_file
Here comes the tricky part:
Now I access my file again, make some changes and save it but nothing happens.
when I check service incron status
it showes me, that the service is running and active but no further event happened.
Anyclue why and what is going on?
I have tried IN_ATTRIB,IN_ONESHOT ... I've even tried IN_ALL_EVENTS.
When I use IN_ATTRIB only then i get a line in service incron status
that says:
Feb 08 08:48:20 example.com incrond[1116]: PATH (/folder/.hiddenfolder/file) FILE () EVENT (IN_IGNORED)
After service incron restart
everything works... but only once.
Thanks & Cheers,
MaxBenn
Hi,
for an update of the SlackBuild for incron from version 0.5.10 to 0.6.0 we need a static release of that version.
Cloning or downloading of incon-master.tar.gz is not allowed for Slackbuilds, since that archive is generated dynamically from the current master branch and if there are changes in the master branch, then the SlackBuild might fail.
Thanks.
Hi.
I'm using incrond with recursive watch, but want to use it with files as well.
When I'm trying to use it with files I have the following error:
could not open directory /var/lib/puppet/ssl/ca/ca_crl.pem: Not a directory
When using recursive mode, new sub-directories, created while icrond is running, aren't watched.
This functionally is missing from OnEventDirectory
on usertable.cpp.
Hi.
I've used incron to backup my databases. I use multiple Servers and Clients with a bunch of users who are using my Severs for their DB's as well.
After some time I was annoyed by the fact, that I had the uid and gid e.g. 1002 on one system and 1000 on the other one... so when I sshfs into one server from a client it was showing me a different username than mine, since the uid on both machines was the same but not the username.
So I took some time to give everybody their unique uid and gid.
Now when I am trying to access my 'incrontable -e' it is telling me that: cannot read old table for '': Permission denied.
Is there any way to get is back?
removing incron from my system and incl autoclean and autoremove doesn't work.
Thanks & Cheers,
MaxBenn
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.