I have a single wordpress with multisite config enabled:
define( 'WP_ALLOW_MULTISITE', true );
I want disable internal cron in wp-config.php with:
define('DISABLE_WP_CRON', true);
My multisite installation is a path-based network, eg.:
http://www.foo.com/bar/
http://www.foo.com/baz/
http://www.foo.com/foo/
In my crontab -e
I have:
*/10 * * * * curl -A "crontab" -X POST "http://www.foo.com/wp-cron.php?doing_wp_cron=`date +\%s`" > /dev/null 2>&1
My two questions are:
- I have todo a single cron for each path, eg:
*/10 * * * * curl -A "crontab" -X POST "http://www.foo.com/bar/wp-cron.php?doing_wp_cron=`date +\%s`" > /dev/null 2>&1
*/10 * * * * curl -A "crontab" -X POST "http://www.foo.com/baz/wp-cron.php?doing_wp_cron=`date +\%s`" > /dev/null 2>&1
*/10 * * * * curl -A "crontab" -X POST "http://www.foo.com/foo/wp-cron.php?doing_wp_cron=`date +\%s`" > /dev/null 2>&1
or all they need is just one to the root eg.:
*/10 * * * * curl -A "crontab" -X POST "http://www.foo.com/wp-cron.php?doing_wp_cron=`date +\%s`" > /dev/null 2>&1
- I see in the apache access.log, wordpress cron uses POST method. Is important to use POST or I can use GET?