17 lines
363 B

description: Rsync Backup Service
type: run-once
provides:
backup:
uses:
schedule-command:
constraint: required
auto: summon
solves:
missing-feature: "scheduling of backups"
default-options:
## backup every day on random time
schedule: !bash-stdout |
printf "%d %s * * *" "$((RANDOM % 60))" "$((RANDOM % 6))-23/6"