Yes – the command below is directly pasted from the command generated by the wpsolr add-on (xxx replace the password):
curl -X GET -H “Content-type: application/json” -H “Accept: application/json” -u wpsolr-cron:xxxxx “https://www.understandingsociety.ac.uk/wpsolr-api/json/cron/xxxxx”
I have also set the server’s SSH access to /bin/bash to allow SSH requests.
cron setup – https://www.understandingsociety.ac.uk/wp-content/uploads/tmp/wpsolr-cron.png
scheduled task in Plesk – https://www.understandingsociety.ac.uk/wp-content/uploads/tmp/schedule-task.png
The output of the task (HTML from page not found 404 from website) – https://www.understandingsociety.ac.uk/wp-content/uploads/tmp/scheduled-task-output.png
You must be logged in to reply to this topic.