bashup/sbin/bashup-cron.sh

15 lines
367 B
Bash
Raw Normal View History

2022-03-28 08:11:40 -07:00
#!/bin/bash
#
# Bashup - A set of bash scripts for managing backups.
# https://git.stack-source.com/msb/bashup
# MIT License Copyright (c) 2022 Matthew Saunders Brown
# load include file
source /usr/local/sbin/bashup.sh
for job in "${bashup_jobs[@]}"; do
if [[ -x /usr/local/sbin/bashup-backup-$job.sh ]]; then
/usr/local/sbin/bashup-backup-$job.sh
fi
done