o
continuous-integration/drone/push Build is passing Details

master
remrem 1 year ago
parent fe053ec223
commit 4a2be95d98

@ -1,2 +1,2 @@
*/1 * * * * python3 -u /app/testFinal.py &> /app/cron_py.log
*/1 * * * * /app/testFinal.py
*/1 * * * * touch /app/cron_exist.cron

@ -9,13 +9,7 @@ service cron status
while true; do
if [ -f "/app/cron_exist.cron" ]; then
echo "YES CRON WORKS"
break;
fi
echo "CRON LOGS"
cat /app/cron_py.log
sleep 10
sleep 60
done
sleep infinity

@ -1,3 +1,4 @@
#!/usr/bin/python3
from sklearn.linear_model import LinearRegression
import pandas as pd
@ -113,4 +114,4 @@ for user in dataUser:
i+=1
logging.error("User nb "+str(i)+" finis")
logging.error("Exec Fini")
logging.error("Exec Fini")

Loading…
Cancel
Save