Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

How can I get an alert when changes to an online PDF have occurred? Simple solutions will carry the day.

share|improve this question

migrated from superuser.com May 15 '11 at 3:07

This question came from our site for computer enthusiasts and power users.

add comment

2 Answers 2

Do this once:

wget -O file.pdf http://example.com/file.pdf
md5sum file.pdf > file.md5

The set this up in a cron job:

wget -O file.pdf http://example.com/file.pdf
md5sum -c file.md5

Of course, you'll need to modify the paths in the code sample so that the wget and md5sum commands can find the downloaded file. If md5sum does no report OK, then you know the file has changed. Have your script send an alert email or take some other action. (You didn't mention your OS so I answered on how I would do it on Linux.)

share|improve this answer
add comment

Of course, after providing my first answer I found a couple of websites that do this. I've never used any of these so I can't speak to their reputation or reliability. I used free website content monitoring as the Google search term.

share|improve this answer
1  
currently I am using "Changes Meter" in Mac –  colinfang May 15 '11 at 8:41
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.