Setup Crontab to run WP Cron

Figured it out. I added the PATH to the top of the crontab:

PATH=/bin:/usr/bin:/usr/local/bin

*/1 * * * * wp cron event run --due-now --path=/app/public/ --allow-root > /app/public/wp-content/cron.log 2>&1
2 Likes