Nick Janetakis
Read post

Getting PagerDuty's Latest vCard with curl and awk — Nick Janetakis

A practical walkthrough of using curl and awk to check whether PagerDuty has updated their vCard (contact file containing all their notification phone numbers). The author creates a shell alias that fetches PagerDuty's support page, parses the HTML with awk's match function and a regex to extract the last-updated date, and runs it weekly to know when to re-download the vCard. The post explains the awk regex in detail and also outlines a more robust automated approach using checksums, a cron job, and Slack/email notifications.

    #infrastructure#crawling#shell#bash#curl
Aug 04•7m read time•From nickjanetakis.com
Post cover image
Table of contents
# How the Alias Works# Ideas to Make It Robust# Demo Video
1.3K Impressions
Nick Janetakis's image
Nick Janetakis

Nick Janetakis's blog provides insights into web development, Docker, and technology tutorials. Read...

77 Followers

•

1.3K Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard