Looking for some guidance around setting up a cron job to run every 15 minutes that sets off a script within the WordPress Plugin Amelia. According to their docs, I need to add the following line to the Cron file:
I've added quotes to the command as I was getting errors because it was splitting the command when reaching an
*/15 * * * * https://domain.com/wp-admin/admin-ajax.php?action=wpamelia_api&call=/notifications/scheduled/send
Now as I'm using CPanel I set up the cronjob using the gui so it looks something like this. Swapping https://domain.com
for the actual domain.:

&
but I am still getting an error saying the directory is not found.
Any help would be great. Thank you in advance.
Asked by Daniel Sissons
(101 rep)
Jun 7, 2020, 10:20 AM
Last activity: Jul 3, 2023, 10:30 AM
Last activity: Jul 3, 2023, 10:30 AM