Skip to content

Commit 3f0cb6f

Browse files
authored
fix: php ini or mautic values for cron
This fixes an issue where the cron env file is missing several values from the env that cause the cron jobs to fail to be able to function
1 parent e38e50b commit 3f0cb6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/entrypoint_mautic_cron.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ mkfifo /tmp/stdout
2121
chmod 777 /tmp/stdout
2222

2323
# ensure the PHP env vars are present during cronjobs
24-
declare -p | grep 'PHP_INI_VALUE_' > /tmp/cron.env
24+
declare -p | grep -E 'PHP_INI_VALUE_|MAUTIC' > /tmp/cron.env
2525

2626
# run cron and print the output
2727
cron -f | tail -f /tmp/stdout

0 commit comments

Comments
 (0)