Cant remember but do I need to run the moodle cron on both of my web servers or just one. Odd I have done this before on many occasions but I just cant remember?
That was bad advice! You DO NOT want to run cron on each server, odd things can start happening in your DB.
Pick one server and setup cron to run or setup a dedicated server to run cron if your cluster is beyond 2-3 web servers.
I have had a look at a couple of other installations that I have built and these only have one cron
Dear Mother of God!!! if you know something I don't about the OP set up, by all means, please share it
So... given that I'm not yet into some sort of psychic mind reading activity, my advice was based exactly on what was posted, nothing more, nothing less.
Moral of the history? People need to learn to give more info and stop assuming that those who spend time here trying to help them know every detail about the set up of their server(s). Dixi.
If both your servers are web servers, and they jointly serve one Moodle instance (in some sort of a cluster), then only one server should run the Moodle cron job.
If those two web servers run different Moodle instances, then each Moodle instance needs a cron job. (Even a single Apache web server can run different Moodle instances on different domains by using its virtual hosts capability https://httpd.apache.org/docs/2.2/vhosts/index.html.)
If you mean this setup, https://moodle.org/mod/forum/discuss.php?d=238005, then it is _one_ web server and _one_ Moodle instance. Then one cron job is the right answer.
My god this post has descended in to halarity. I have no idea what is happening but if it helps things I did not stipulate that it was a load balanced environment
It seems that lack of info has lead to assumptions which in turn have wreaked havoc here
If only one could have a signature on these forums, we could post our setups automatically!
Mods, can we have a sig section please, i understand that it might take 6 months to code and test, but it might stop us having a punch-up on these forums
I know I broke the rules in my haste, I should have started the post with my environment details
At first instance it seems a good idea, but it would only clutter the threads; better yet, set ups can be described in our profiles