mirror of
https://github.com/linuxserver/docker-baseimage-fedora.git
synced 2026-02-05 04:07:09 +08:00
Merge pull request #32 from linuxserver/master-etc-cron
Import crontabs from etc
This commit is contained in:
commit
d8a73eae9c
@ -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