digitalpoint
Well-known member
digitalpoint submitted a new resource:
Trigger deferred.php Via Shell Crontab - Allow an automated shell process to run deferred.php script
Read more about this resource...
Trigger deferred.php Via Shell Crontab - Allow an automated shell process to run deferred.php script
I had an issue where the deferred.php script was being called 400-500 times per minute by the normal method where end user activity triggers it. This will move the deferred.php triggering to a crontab job run in the shell by your server in an automated (and more controllable) fashion.
First, remove the deferred trigger from the PAGE_CONTAINER template. Simply remove this from that template:
Code:{xen:if $hasAutoDeferred, RunDeferred}
Second, create a file in your /etc/cron.d/...
Read more about this resource...