fix process interval - busybox missing feature

This commit is contained in:
Robert Schumann
2018-04-05 12:16:51 +02:00
parent 74520b5719
commit a0fc9240ba
3 changed files with 3 additions and 8 deletions

View File

@@ -39,11 +39,6 @@ if [[ -v TEMPLATE_PERL_CONF ]] ; then
done
fi
if [[ -v PARSER_PROCESS_INTERVAL ]] ; then
cmd=$(awk '{$1=""; print $0}' /etc/cron.d/root)
echo "${PARSER_PROCESS_INTERVAL} ${cmd}" > /etc/cron.d/root
fi
# Start supervisord and services
/usr/bin/supervisord -n -c /etc/supervisord.conf

View File

@@ -1 +1,2 @@
@hourly /usr/bin/dmarcts-report-parser.pl -i -d -r 1>>/var/log/nginx/dmarc-reports.log 2>&1
15 * * * * /usr/bin/dmarcts-report-parser.pl -i -d -r 1>>/var/log/nginx/dmarc-reports.log 2>&1