#!/usr/bin/with-contenv bash # shellcheck shell=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/