#!/bin/bash # 6,21,36,51 * * * * /docker/users/hpr/userfiles/bin/export-jsons-stats.bash > /dev/null 2>&1 & net_rc="$HOME/userfiles/.netrc" output_file="$HOME/hub.hackerpublicradio.org/public_html/stats.json" curl --silent --netrc-file ${net_rc} https://hub.hackerpublicradio.org/cms/stats.php --output "${output_file}"