mirror of
https://github.com/linuxserver/docker-swag.git
synced 2024-10-01 01:35:49 -04:00
11 lines
225 B
Plaintext
11 lines
225 B
Plaintext
#!/usr/bin/with-contenv bash
|
|
|
|
# copy crontabs if needed
|
|
if [[ ! -f /config/crontabs/root ]]; then
|
|
cp /etc/crontabs/root /config/crontabs/
|
|
fi
|
|
|
|
# import user crontabs
|
|
rm /etc/crontabs/*
|
|
cp /config/crontabs/* /etc/crontabs/
|