Posted by J.O. Aho on 09/28/18 11:41
Sam wrote:
> Aho, I guess there are no other alternatives than a cron job?
You can try to execute a php script in the background, but not sure how well
this would happen
eg: shell_exec("php /path/to/the/script.php &");
One of the drawbacks is that it's a lot more difficult to hunt bugs compared
to cron jobs and I'm not 100% sure the background process will really be
running in the background or die with the php script ending.
//Aho
[Back to original message]
|