News for hackers. Stuff that matters.
Re:Ask HN: What non-work task have you automated? by Tepix on Thursday October 12, 2017 @08:11AM (#15457362)
Did something similar to check availability of a special deal by my ISP.

No need to write code, you only need a shell account on a box somewhere. Put a line like this in your crontab:

    20 9,12,15,18,21 * * * curl -s http://example.com/special-deal-page | grep 'something that needs to appear on the page' | mailx -E -s "it's happening!1!" $MAILTO
This will check every three hours during daytime (which is what I wanted). "mailx -E" will only send an email if the input is not empty. Don't forget to define MAILTO and to test the contraption.
Re:Ask HN: What non-work task have you automated? by lamby on Thursday October 12, 2017 @10:40PM (#15462929)
This is pretty much exactly how my https://github.com/lamby/gumtree-sniper works
Re:Ask HN: What non-work task have you automated? by t1o5 on Thursday October 12, 2017 @10:37AM (#15458262)
Pretty concise. I needed a loud phonecall, so used twilio free developer account for that.