feat: add features

This commit is contained in:
ttionya
2020-06-05 19:17:26 +08:00
parent 4f394cd9eb
commit b9e5ab9983
4 changed files with 194 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
#!/bin/sh
. /app/includes.sh
function configure_cron() {
echo "${CRON} sh /app/backup.sh > /dev/stdout" >> /etc/crontabs/root
}
init_env
check_rclone_connection
configure_cron
# foreground run crond
crond -l 2 -f