Webhook when a file changed
Hi,
Is there a way to send an alert by webhook or email when a certain file is updated / changed?
I have a file that I need to know immediately when it's updated / changed so I can upload a fixed version of him.
If there is a way to automatically upload another version any time this file is changed - it's will be awesome, but if not getting an alert by webhook or by email that something happened to the file and that I should fix it - will also be superb.
So - Is there a way to get a Webhook when a specific file is changed?
Thanks!
Ram
-
Hey there! I don't know about the webhook side of things, but Linux has the auditd system built-in. We have a guide at the following link that explains how the tool works and gives an example of how to watch for changes to a file: and also - and I started getting the email alerts - The problem is that I get such an alert every 5 minutes regardless if the file was changed or not.... Is there a way to get an alert only when there is a change in the file size? Thanks! Ram
0 -
I'm glad you found a good solution. cPanel doesn't control LFD, but reading through their documentation I'm not finding a way to change that behavior. You might want to reach out to their team at Technical Support to see if they are aware of this, or to submit a feature request to them. 0
Please sign in to leave a comment.
Comments
4 comments