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

Run wp cron under "ionice"

parent 4b38842e
No related branches found
No related tags found
No related merge requests found
...@@ -3,5 +3,5 @@ ...@@ -3,5 +3,5 @@
# The "run-cron" execution takes a few minutes, so the actual period # The "run-cron" execution takes a few minutes, so the actual period
# comess out at something closer to 10 minutes. # comess out at something closer to 10 minutes.
export BATCH_SIZE=300 export BATCH_SIZE=300
exec 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