How to add a cron job in my functions.php

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

Read more here:: How to add a cron job in my functions.php

Leave a Reply

Your email address will not be published. Required fields are marked *