I'm trying to setup a wp cli cron within cPanel with little success. WP cli is installed on the server and accessible by all users when logged in via ssh; saved in the recommended /usr/bin/local/wp. If I were to run the following command within cPanel Cron Jobs: wp db export I'm met with: "wp: command not found".
I've tried using:
/usr/local/php wp db export
/usr/local/php /usr/local/bin/wp db export
Neither seem to work thus far. I've been Google'ing for the last few hours trying to find a solution with no luck. I'm sure there's something very simple I've overlooked; any thoughts?
Thanks in advance.
I've tried using:
/usr/local/php wp db export
/usr/local/php /usr/local/bin/wp db export
Neither seem to work thus far. I've been Google'ing for the last few hours trying to find a solution with no luck. I'm sure there's something very simple I've overlooked; any thoughts?
Thanks in advance.