September 25, 2020

Download Church Bulletin

Churches in Massachusetts have limited attendance because of COVID-19. I decided to create a new Keyboard Maestro Macro to download the latest church bulletin - that way I know what's going on at mu local parish.

My parish uses e-churchbulletins.com, which generates a PDF file every week. When a new bulletin gets created it overites the file on the server.

So I created the following Macro:

Bash Church

What this does:

Every day at 4 am, it runs a Bash script, using curl and downloads the latest bulletin and saves it to my local computer using the current day. (This way it doesn't wright over any previous downloads. )

Copy of the BASH script:

#! /bin/bash
cd ~/Dropbox/Coronavirus/church
curl --output `date +%Y-%m-%d`.pdf https://www.e-churchbulletins.com/bulletins/

I have this running every day because I never know when the latest bulletin will be released.

The nice thing is that I just set it and forget it. Now I have a copy of all the church bulletins whenever I need to refer back to them.

Comments

Add your Comments

Feel free to leave a comment about this post.

- Feel Free to add HTML to your comment!