Skip to content
Snippets Groups Projects
Commit befb6cd4 authored by ale's avatar ale
Browse files

Add /usr/local/bin to wpcron PATH

Needed to find wp-cli, a dependency of noblogs-cli.
parent 62beacc5
No related branches found
No related tags found
No related merge requests found
Pipeline #59706 passed
#!/bin/sh
# Run WP-Cron periodically.
# Need to be able to find wp-cli in /usr/local/bin
export PATH=$PATH:/usr/local/bin
# 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 nice ionice -c 3 every 300 on-local-blogs run-cron >/dev/null
exec nice ionice -c 3 every 300 on-local-blogs run-cron >/dev/null
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment