Removes “.forceresurr” at the end, if present
This commit is contained in:
parent
12ece5bf7d
commit
40ceb04d2e
1 changed files with 1 additions and 0 deletions
|
@ -55,6 +55,7 @@ else # il primo del mese usa un gracetime di 2 mesi
|
|||
log "Eseguo crawler.php con un gracetime di 2 mesi"
|
||||
logcmd "php crawler.php -g 2M" "${crlogfp}"
|
||||
fi
|
||||
[ -f "${forceresurrfp}" ] && rm "${forceresurrfp}"
|
||||
logcmd "php mustool.php shuffle clean optimize" "${logfp}"
|
||||
ofp="maintain/backups/${dbname}_backup-`date +%Y-%m-%d--%H.%M.%S`.sql"
|
||||
logcmd "mysqldump --defaults-extra-file=${mycfgfp} --single-transaction -r ${ofp} ${dbname}" "${logfp}"
|
||||
|
|
Loading…
Reference in a new issue