Explorar el Código

After peerscrawl.php has run, make a copy of peerscrawl.log to peerscrawl.log.old

pezcurrel hace 2 meses
padre
commit
1c1d9fb095
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      web/clitools/maintain/pcloop.bash

+ 1 - 0
web/clitools/maintain/pcloop.bash

@@ -22,5 +22,6 @@ while true; do
 	fi
 	tail $cmdlogfp >> $logfp
 	log "### THE END ###"
+	cp "$cmdlogfp" "${cmdlogfp}.old"
 done
 exit 0;