Cron automations

This commit is contained in:
ken_fallon committed 2025-09-21 19:19:20 +02:00
1 parent 8efc6459c3
commit d19fe2e4bf
5 files changed
+131 -17

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
#!/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}"