Sample Header Ad - 728x90

Monitoring directory using incron

2 votes
0 answers
113 views
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 started to work back once I manually restarted the incron.service. what I want is, I want to be notified once incron is freeze. How do get to know incron is freezed state? How do I make a shell script to capture state of incron?
Asked by Anbarasu Subramaniyan (121 rep)
Oct 16, 2019, 05:42 AM
Last activity: Oct 16, 2019, 05:48 AM