16 lines
380 B
SYSTEMD
16 lines
380 B
SYSTEMD
# Bashup - A set of bash scripts for managing backups.
|
|
# https://git.stack-source.com/msb/bashup
|
|
# MIT License Copyright (c) 2022 Matthew Saunders Brown
|
|
#
|
|
[Unit]
|
|
Description=Bashup cron for automatic backups
|
|
|
|
[Timer]
|
|
# Run daily at a random time between 2:00 and 4:00 am
|
|
OnCalendar=*-*-* 02:00:00
|
|
RandomizedDelaySec=7200
|
|
Unit=bashup-cron.service
|
|
|
|
[Install]
|
|
WantedBy=timers.target
|