I've got a file located at an url, say https://www.example.com/file.csv
I'm required to download the file every time it's updated (or at least once/24h) and perform certain actions on the file via scripts.
However, I don't have any kind of notification service / webhook to inform me whenever the file is reuploaded on the server (I've even spoken to support and I can't get what I need).
How can I poll the link for changes? So that every time the file updates, my scripts fire up the download and proceed with the tasks?
I thought curl
can help me, but I'm totally lost on it and some google searches have not given me the results I need.