hello, My server go down and that whats the support said...... Can you help me with that?
ps:I am already set this to sleep mode
------------------------------------------
A "cron.php" job was set up to run once a minute, but it takes longer than a minute to run.
Consequently, more and more copies of this job started up in parallel until it finally overwhelmed the server.
Could you please rewrite your cron.php job so that it doesn't start back up if it is already running? Alternatively, could we please set it to run less often than once a minute?
cron/load
Re: cron/load
Can I set these crons to run like 10-15min ?
Re: cron/load
Well, yes, but it may miss times when it's time to save history and so on
BTW what version\build do you use?
BTW what version\build do you use?
Don't forget to run script update
Re: cron/load
Version 1.52
We have fixed this adding a checker to scj.sh
#!/bin/bash
PIDFILE=/tmp/scjcron.pid
if [ -f $PIDFILE ]
then
echo Already running ;
else
touch /tmp/scjcron.pid
ALL CRONS HERE
rm -f /tmp/scjcron.pid ;
fi
We have fixed this adding a checker to scj.sh
#!/bin/bash
PIDFILE=/tmp/scjcron.pid
if [ -f $PIDFILE ]
then
echo Already running ;
else
touch /tmp/scjcron.pid
ALL CRONS HERE
rm -f /tmp/scjcron.pid ;
fi
Re: cron/load
Well, that's an option but you may lose history stats an so on
Don't forget to run script update