2020-03-14 16:08:16 +01:00
|
|
|
#!/bin/bash
|
2020-03-14 16:02:20 +01:00
|
|
|
|
|
|
|
cd $HOME/public_html/washinsa
|
|
|
|
# update washing machine list
|
|
|
|
php index.php
|
|
|
|
|
|
|
|
cd ../expo_notifications
|
|
|
|
# watch for new notifications with the new list
|
|
|
|
python3 handler.py
|
|
|
|
|
|
|
|
cd ../dashboard
|
|
|
|
# Update the dashboard
|
|
|
|
python3 handler.py > log 2> err
|