I have a Digital Ocean droplet running Wordpress on EE4 and have a question about converting a regular linux cronjob to an EE cronjob.
Here’s what I have for the regular linux cronjob:
*/5 * * * * cd /opt/easyengine/sites/example.com/app/htdocs; php -q wp-cron.php >/dev/null 2>&1
Is this the correct conversion for EE??
ee cron create example.com --command='wp cron event run --due-now' --schedule='@every 5m'