myrkraverk.com
Running Pgbadger Automatically with Zsh
Here I present a simple script that queries the database for the log file locations and automatically chooses the one for yesterday. The trick here is to apply strftime to the log filename as confi…