Another difference / advantage is that running the phpBB cron job from the system cron (daemon) is that long-running jobs won't time out. The phpBB cron jobs initiated from a web browser are configured to timeout via
max_execution_time
in php.ini; it should be set reasonable low to avoid overloading the server with high-cost SQL calls or malicious actors. Since a system cron job is trusted, there's no need to limit its execution time (though you could with set_time_limit()
within the php script, just in case).Statistics: Posted by HB — Tue Dec 17, 2024 9:54 pm