Skip to content
Snippets Groups Projects
Commit 78779ad0 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

remove scheduler.sh

parent 33b2262c
Branches
No related tags found
1 merge request!29remove scheduler.sh
#!/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
# --------------------------------------------------------------------------------
,--. ,--. ,--.
,---. ,---.| ,---. ,---. ,-| |,--.,--.| | ,---. ,--.--.
( .-' | .--'| .-. || .-. :' .-. || || || || .-. :| .--'
.-' `)\ `--.| | | |\ --.\ `-' |' '' '| |\ --.| |
`----' `---'`--' `--' `----' `---' `----' `--' `----'`--'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment