mirror of
https://github.com/gutmensch/docker-dmarc-report.git
synced 2025-12-29 16:15:55 +00:00
fix process interval - busybox missing feature
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user