Hello all,
I'm trying to figure out why our cron.php takes a long time (50 seconds) to run. I've done some profiling and it seems the call to session_destory() takes the majority of the time (48 seconds). Why is this? Whilst the cron job is running our moodle install runs really slowly.
Could this be fixed by running cron.php using the php command?
We have a duplicate test system which runs the same cron job in about 2 seconds!
Thanks for any help,
Rob
Hardware and performance
Cron.php really slow
This discussion has been locked so you can no longer reply to it.