Skip to content
Snippets Groups Projects

remove scheduler.sh

Merged Hahn Axel (hahn) requested to merge eliminate-scheduler into master
2 files
+ 0
37
Compare changes
  • Side-by-side
  • Inline

Files

#!/bin/bash
# ================================================================================
#
# SCHEDULER
#
# schedule backups.
# If backup time is reached then
# - the local dumps for all database types will be performed
# - transfer of data directories will be started
#
# This script is added as cron (see /etc/cron.d/)
#
# SYNTAX
# scheduler.sh [option]
#
# OPTIONS
# default: no parameter: check jobs/backups.job for scheduling backups
# -d, --dryrun check date only; no run of a backup
# -f, --force: force incremental backup NOW.
#
# --------------------------------------------------------------------------------
# ah - Axel Hahn <axel.hahn@iml.unibe.ch>
# ds - Daniel Schueler <daniel.schueler@iml.unibe.ch>
#
# 2016-11-10 ah,ds v1.0
# ================================================================================
echo "ERROR: $0 was DISABLED."
echo "start $( dirname \"$0\" )/backup.sh by cron when you wish to start the backup."
exit 1
# --------------------------------------------------------------------------------
Loading