added while loop to pict-converter as cron is not working, i'll have to fixe that
This commit is contained in:
@@ -99,8 +99,10 @@ function convert {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
while true; do
|
||||||
day=$(date +"%Y-%m-%d")
|
day=$(date +"%Y-%m-%d")
|
||||||
logfile="logs/convert-$day.log"
|
logfile="logs/convert-$day.log"
|
||||||
touch $logfile
|
touch $logfile
|
||||||
convert | tee -a $logfile
|
convert | tee -a $logfile
|
||||||
|
sleep 10m
|
||||||
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user