diff --git a/web/clitools/maintain/maintain.bash b/web/clitools/maintain/maintain.bash index 7baf9f8..8690e06 100755 --- a/web/clitools/maintain/maintain.bash +++ b/web/clitools/maintain/maintain.bash @@ -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}"