split daily/cron daily

This commit is contained in:
Hartmut Bauer committed 2025-05-11 15:14:48 +02:00
1 parent 8eccb0ed59
commit f96447d0e7
3 files changed
+14 -3

No files matched your search

+5 -1
View File
@@ -495,7 +495,7 @@ set_log_info() {
mail_log $INFO ">>> "
}
backup_daily() {
cron_backup_daily() {
# "master"-Server startet Backup auf NAS
if [ -d $BACKUP_MASTER_CHECK ]; then
log $DEBUG "$DBG starting daily backup on $NAS_HOSTNAME"
@@ -512,6 +512,10 @@ backup_daily() {
nohup $THIS_SCRIPT -w >>$LOG_FILE 2>&1 </dev/null &
fi
backup_daily
}
backup_daily() {
mail_log $INFO ">>>>>>>>>> daily auto backup $VER for $HOST_NAME <<<<<<<<<<"
do_auto_backup backup_daily