Browse Source

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

pezcurrel 3 months ago
parent
commit
1c1d9fb095
1 changed files with 1 additions and 0 deletions
  1. 1 0
      web/clitools/maintain/pcloop.bash

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

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