mirror of
https://github.com/linuxserver/docker-baseimage-alpine.git
synced 2026-02-20 00:47:04 +08:00
Import crontabs from etc
Signed-off-by: Eric Nemchik <eric@nemchik.com>
This commit is contained in:
parent
49deb4ddaa
commit
0358b6b025
@ -2,6 +2,11 @@
|
||||
# shellcheck shell=bash
|
||||
|
||||
for cron_user in abc root; do
|
||||
if [[ -f "/etc/crontabs/${cron_user}" ]]; then
|
||||
lsiown "${cron_user}":"${cron_user}" "/etc/crontabs/${cron_user}"
|
||||
crontab -u "${cron_user}" "/etc/crontabs/${cron_user}"
|
||||
fi
|
||||
|
||||
if [[ -f "/defaults/crontabs/${cron_user}" ]]; then
|
||||
# make folders
|
||||
mkdir -p \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user