Commit f89846b3c02e0f81aa517763631147f7dbe26c2c
1 parent
cd2473b72d
Exists in
master
Made the cron script log everything to /var/log/usernotifications
Showing 1 changed file with 1 additions and 1 deletions Inline Diff
scripts/notify_users.sh
View file @
f89846b
#!/bin/bash -xe | 1 | 1 | #!/bin/bash -xe | |
source secrets.sh | 2 | 2 | source secrets.sh | |
source venv/bin/activate | 3 | 3 | source venv/bin/activate | |
4 | 4 | |||
cd /srv/flashy-backend | 5 | 5 | cd /srv/flashy-backend | |
python manage.py notifyusers | 6 | 6 | python manage.py notifyusers 2>&1 >> /var/log/usernotifications |