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


WP_CRON issue with UTC and local time

Updated November 29, 2018 01:08 AM

Scheduling a function to run daily

Updated November 26, 2018 04:08 AM

Automated mark posts as featured every day

Updated January 14, 2019 16:08 PM

Wordpress cron job settings

Updated July 15, 2015 16:03 PM

Wordpress function, Run using Crontab

Updated October 12, 2018 12:08 PM