fork 0k-charms
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

17 lines
358 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 %d * * *" "$((RANDOM % 60))" "$((RANDOM % 6))"