Skip to content

Commit

Permalink
Merge pull request #1037 from xzzy/master2
Browse files Browse the repository at this point in the history
Add appmonitor_client
  • Loading branch information
xzzy authored Jan 9, 2024
2 parents b5af232 + 4920398 commit ca7de29
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions cron
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@

#Rotate Backups
30 6 * * 0 root /app/bin/rotate_backups.sh

# App Monitor Client
10 9 * * 0 root eval $(grep -v '^#' /etc/.cronenv | xargs -d "\n" -I {} echo export \"{}\" ) && python3 /app/manage.py appmonitor_check >> /app/logs/appmonitor_client.log 2>&1
2 changes: 1 addition & 1 deletion ledgergw/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
'crispy_forms',
'ledgergw',
'webtemplate_dbca',

'appmonitor_client'
]

MIDDLEWARE_CLASSES += [
Expand Down
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,5 @@ phonenumbers==8.12.15
django-treebeard==4.3.1
psycopg2==2.8.6
whitenoise==5.3.0
git+https://github.com/dbca-wa/appmonitor_client.git#egg=appmonitor_client
python-decouple==3.8

0 comments on commit ca7de29

Please sign in to comment.