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:
/etc/cron.d/ispc_web26
And on my mirror server I also have:
/etc/cron.d/ispc_web26
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.
|