View Single Post
Old 25th July 2011, 08:27
snowfly snowfly is offline
Join Date: Jul 2006
Posts: 93
Thanks: 0
Thanked 7 Times in 5 Posts

Hi CSsab,

No I do not mean the ISPConfig cron script.
I am talking about user/client cron scripts.

These are listed under /etc/cron.d/

For example, on my master server I have:

And on my mirror server I also have:

And both contain the same (where URL is my PHP script):
*/5 * * * * web26 /usr/bin/wget -q -O /dev/null '<URL>' >/dev/null 2>&1

So the PHP script gets run twice, and I get to emails sent to me, because at the bottom of the PHP script I put a php mail(...) command.

So wanting to know a way to stop user/client cron jobs getting replicated and run on the mirror server.
Reply With Quote