Sunday, January 22, 2023
HomeWordPress DevelopmentDefinition of web page load for WP-Cron?

Definition of web page load for WP-Cron?


My website is extraordinarily low site visitors in the meanwhile. For the sake of this query, allow us to assume it’s no site visitors.

I’ve a .php file on my server which is executed each 5 minutes through crontab on the server.
The file comprises this code:

<?php
$curl_handle = curl_init();
curl_setopt($curl_handle, CURLOPT_URL, "https://web page url");
curl_exec($curl_handle);
curl_close($curl_handle);

?>

So far as WordPress is worried, is every go to by the above code thought of a “web page load”, such that WP-Cron is saved alive for the duties scheduled inside it?

I discover within the stats plugin I take advantage of, nothing is recorded for the url visits I specified within the code.

Assuming this has no impact on whether or not WP-cron stays alive, and an precise browser go to is the one official “web page load”, what answer is offered??

Thanks a lot for all responses!

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments