diff --git a/docker/conf/services.d/wpcron/run b/docker/conf/services.d/wpcron/run new file mode 100755 index 0000000000000000000000000000000000000000..87c875f4b2b6ff53a768997b674bf15a0eb86179 --- /dev/null +++ b/docker/conf/services.d/wpcron/run @@ -0,0 +1,7 @@ +#!/bin/sh +# Run WP-Cron periodically. +# The "run-cron" execution takes a few minutes, so the actual period +# comess out at something closer to 10 minutes. +export BATCH_SIZE=300 +exec every 300 on-local-blogs run-cron >/dev/null 2>&1 +