I have a cron job set up in my cron.php
file.
I also have a function()
placed in that same file, which I want to use in other places.
Now the cron.php
file has been set to run only one every 24 hours, meaning I don't want it to run multiply times.
somepage.php:
<?php
include_once("/cron.php");
echo someFunction(); //Function taken from cron.php
?>
Will the cron.php
then run every time I load the somepage.php
file?