---
title: "Getting PagerDuty's Latest vCard with curl and awk — Nick Janetakis"
url: https://daily.dev/posts/getting-pagerduty-s-latest-vcard-with-curl-and-awk-nick-janetakis-p830ih8qk
source_url: https://nickjanetakis.com/blog/getting-pagerduty-latest-vcard-with-curl-and-awk
type: article
source: "Nick Janetakis"
published: 2026-08-04T11:31:39.371Z
updated: 2026-08-04T11:32:00.137Z
tags: ["infrastructure", "crawling", "shell", "bash", "curl"]
reading_time: 7
upvotes: 3
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

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

**[Nick Janetakis](https://daily.dev/sources/nickjanetakis)** · 7 min read · 3 upvotes · 0 comments

## Summary

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.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://nickjanetakis.com/blog/getting-pagerduty-latest-vcard-with-curl-and-awk>

## Similar posts on daily.dev

- [Automating updates to a digital vigil](https://daily.dev/posts/automating-updates-to-a-digital-vigil-lmcfzw4qj) · nicole@web · 0 upvotes · 0 comments

---

Tags: [#infrastructure](https://daily.dev/tags/infrastructure), [#crawling](https://daily.dev/tags/crawling), [#shell](https://daily.dev/tags/shell), [#bash](https://daily.dev/tags/bash), [#curl](https://daily.dev/tags/curl)

[View this post on daily.dev](https://daily.dev/posts/getting-pagerduty-s-latest-vcard-with-curl-and-awk-nick-janetakis-p830ih8qk)
