diff --git a/site/fichiersRPI/fichiersRPI.zip b/site/fichiersRPI/fichiersRPI.zip index ae1e8f3..e86da46 100644 Binary files a/site/fichiersRPI/fichiersRPI.zip and b/site/fichiersRPI/fichiersRPI.zip differ diff --git a/site/fichiersRPI/script.sh b/site/fichiersRPI/script.sh index ac8669f..a75658e 100755 --- a/site/fichiersRPI/script.sh +++ b/site/fichiersRPI/script.sh @@ -13,6 +13,6 @@ sudo make upload sudo python3 Rpi_to_server.py pwd=$(pwd) -tps=1 +tps=$(cat temps.txt) crontab -l | grep -v $pwd | crontab - (crontab -l ; echo "*/$tps * * * * $pwd/python.sh $pwd") | crontab - diff --git a/site/upload/temps.txt b/site/upload/temps.txt new file mode 100644 index 0000000..7813681 --- /dev/null +++ b/site/upload/temps.txt @@ -0,0 +1 @@ +5 \ No newline at end of file -- libgit2 0.21.2