Cron automations
This commit is contained in:
8
workflow/export-jsons-stats.bash
Executable file
8
workflow/export-jsons-stats.bash
Executable 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}"
|
Reference in New Issue
Block a user