From 1c1d9fb095aa846773dbbfc6bae4691495c69eac Mon Sep 17 00:00:00 2001 From: pezcurrel Date: Mon, 26 Feb 2024 17:53:43 +0100 Subject: [PATCH] After peerscrawl.php has run, make a copy of peerscrawl.log to peerscrawl.log.old --- web/clitools/maintain/pcloop.bash | 1 + 1 file changed, 1 insertion(+) diff --git a/web/clitools/maintain/pcloop.bash b/web/clitools/maintain/pcloop.bash index 1f04cfe..06c9aa6 100755 --- a/web/clitools/maintain/pcloop.bash +++ b/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;