Commit 88207336e024011f39fbe6f86213c50fb20a6b0f
Merge branch 'master' of https://archives.plil.fr/grouille/IMA3_P10
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