docker-GLPI/service/20-cron/run
root 9133564455 Correction du bug cron
Ajout de couleurs dans les logs
2020-08-06 16:20:43 +02:00

8 lines
267 B
Bash
Executable File

#!/bin/sh
. /etc/service/template
msglog "Starting Cron..."
# Touch cron files to fix 'NUMBER OF HARD LINKS > 1' issue. See https://github.com/phusion/baseimage-docker/issues/198
touch -c /etc/crontab /etc/cron.*/* /var/spool/cron/crontabs/*
exec /usr/sbin/cron -f