57 lines
3.2 KiB
Plaintext
57 lines
3.2 KiB
Plaintext
# ****************************************************************************************************
|
|
# * ______ _ _ *
|
|
# * | ____| /\ (_) | | *
|
|
# * | |__ _ _ _ __ ___ _ __ ___ __ _ _ __ / \ _ _ __ _ __ ___ _ __| |_ ___ *
|
|
# * | __|| | | | '__/ _ \| '_ \ / _ \/ _` | '_ \ / /\ \ | | '__| '_ \ / _ \| '__| __/ __| *
|
|
# * | |___| |_| | | | (_) | |_) | __/ (_| | | | | / ____ \| | | | |_) | (_) | | | |_\__ \ *
|
|
# * |______\__,_|_| \___/| .__/ \___|\__,_|_| |_| /_/ \_\_|_| | .__/ \___/|_| \__|___/ *
|
|
# * | | | | *
|
|
# * |_| |_| *
|
|
# * *
|
|
# ****************************************************************************************************
|
|
|
|
# This file is part of the European Airports Project, a free, collaborative platform of airport data
|
|
# extending beyond the official AIPs.
|
|
|
|
# Copyright (C) 2023
|
|
|
|
# Florian Meissner <florianmeissner@gmx.de>
|
|
|
|
# This program is free software: you can redistribute it and/or modify it under the
|
|
# terms of the GNU General Public License as published by the Free Software Foundation, either
|
|
# version 3 of the License, or (at your option) any later version. This program is distributed in the
|
|
# hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
|
# details. You should have received a copy of the GNU General Public License along with this program.
|
|
# (license.md in the root folder of this project) If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
# *************************************************
|
|
# * ___ _ *
|
|
# * / (_) | | *
|
|
# * | ,_ __ _ _ _|_ __, | | *
|
|
# * | / | / \_/ |/ | | / | |/ \_ *
|
|
# * \___/ |_/\__/ | |_/|_/\_/|_/\_/ *
|
|
# * *
|
|
# *************************************************
|
|
|
|
# This is the crontab file for user root. It will be loaded and installed during the build process
|
|
# of the Docker image.
|
|
|
|
# In order for CheckMk to monitor the jobs, the sytax is enhenced a little bit. After the time
|
|
# information the script `mk-job` is placed with a CHeckMk description of the Job as first argument.
|
|
# The actual job's script or command is then followd as the second argument. For further
|
|
# informations see `mk-job` in the `checkmk` folder.
|
|
|
|
# Remember that this file must end with a new line!
|
|
|
|
# How to install a cronjob in Docker:
|
|
# https://github.com/edwardsamuel/Docker-Cron-Job-Sample/blob/master/README.md
|
|
|
|
# Florian Meissner, DL1MRV
|
|
|
|
# m h dom mon dow `mk-job` desc command [args]
|
|
#* * * * * mkjob "Test-Job" echo "Hello world" `date` >> /var/log/cron.log 2>&1
|
|
0 */4 * * * mk-job "DB Dump" /dbDump.sh
|
|
15 */4 * * * mk-job "Borg Backup" /borg.sh
|