Skip to content

script to watch sites for changes and alert you via slack; meant to be run with unix crontabs

Notifications You must be signed in to change notification settings

jnmandal/sitewatcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

sitewatcher

ruby script to watch sites for changes and alert you via slack; meant to be run with unix crontabs

what

get a message in a slack channel alerting you of updates to a site

how

clone this repo and add a secrets.yml file to that dir containting something like

target: http://jnmandal.github.io
slack_webhook: https://hooks.slack.com/services/foo/barbaz

where:

  • the target is the site you want to watch
  • the slack_webhook is the url to the slack incoming webhook that you set up
crontab -e

input something like:

*/1 * * * *  /bin/bash -lc 'ruby /root/to/this/script.rb'

where:

???

profit.

About

script to watch sites for changes and alert you via slack; meant to be run with unix crontabs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages