How to add a cron job in my functions.php

by Phil   Last Updated May 15, 2018 19:08 PM

My host is WPengine, I can't configure my crontab directly on the server so I need to do it on my side. Then I need to add a function in my functions.php right ?

What is the function to be sure that this command is triggered every minute ?

/usr/local/bin/curl --silent http://www.your-domain.com/?amina-cron=check >/dev/null 2>&1

TIA

Tags : functions cron


Related Questions


Wordpress cron job settings

Updated July 15, 2015 16:03 PM

Wordpress function, Run using Crontab

Updated October 12, 2018 12:08 PM

use wordpress functions in cronjob

Updated April 09, 2018 09:08 AM

How to run a function every 5 minutes?

Updated September 05, 2017 04:08 AM