Commit 4b56bd2bf226e28e2e61eac099c6a564bd323e7b
1 parent
37a44835
MAJ Site + Cron
Showing
3 changed files
with
2 additions
and
1 deletions
Show diff stats
site/fichiersRPI/fichiersRPI.zip
No preview for this file type
site/fichiersRPI/script.sh
@@ -13,6 +13,6 @@ sudo make upload | @@ -13,6 +13,6 @@ sudo make upload | ||
13 | sudo python3 Rpi_to_server.py | 13 | sudo python3 Rpi_to_server.py |
14 | 14 | ||
15 | pwd=$(pwd) | 15 | pwd=$(pwd) |
16 | -tps=1 | 16 | +tps=$(cat temps.txt) |
17 | crontab -l | grep -v $pwd | crontab - | 17 | crontab -l | grep -v $pwd | crontab - |
18 | (crontab -l ; echo "*/$tps * * * * $pwd/python.sh $pwd") | crontab - | 18 | (crontab -l ; echo "*/$tps * * * * $pwd/python.sh $pwd") | crontab - |
No preview for this file type