Skip to content

Commit

Permalink
Merge pull request #557 from OpenUpSA/feature/bill-tracker-dokku-cron
Browse files Browse the repository at this point in the history
Use dokku cron to run daily bill-tracker/update
  • Loading branch information
paulmwatson authored Jul 30, 2024
2 parents f408952 + a2f09eb commit dfb4d4c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"cron": [
{
"command": "curl api.pmg.org.za/v2/bill-tracker/update/ > /var/log/cron-bill-tracker",
"schedule": "0 1 * * *"
}
]
}

0 comments on commit dfb4d4c

Please sign in to comment.