Hacker News new | ask | show | jobs
by captbaritone 2023 days ago
A cron job that runs on a server and sends me a daily digest email. It’s composed of a number of modules that each check one thing and report a message and a “severity”. The glue code then orders them and send the email. Currently it checks:

Twitter follows/unfollows for me, my wife, and my Twitter bot

Stock movements for the few stocks (RSUs) I have

Confirmation that several daily backups (db dumps etc) were successful

Upcoming SSL cert and domain expirations

New GitHub stars

Disk space left on my personal server (running out tends to make it crash)

I know that looks like a lot of stuff, but the goal is for the script to programmatically determine which ones cross the threshold into being actionable/important and to hide/de-prioritize the unimportant ones for me so I can confidently ignore them and focus on any important ones.

2 comments

someone here said that the nyt frontpage is available in pdf format.

I now download this url and email it to myself as an attachment:

  now = datetime.datetime.now()
  nyt_url='https://static01.nyt.com/images/%04d/%02d/%02d/nytfrontpage/scan.pdf'%(now.year, now.month, now.day)
Nice! I'd like to see that.