Page 1 of 1

Cron

Posted: Thu Apr 18, 2013 5:54 am
by bladex21
Hello

I get these error

Warning, check SCJ crontab job. Last cron run was at 2013-04-18 01:40. Please, Add line:
*/1 * * * * cd /usr/home/sites/jaysexphotos.com/httpdocs/scj/bin; env HTTP_HOST=jaysexphotos.com /usr/local/bin/php -q cron.php
Warning, check SCJ crontab job. Rotation is ON but Last rot.php run was at 2013-04-18 01:40
*/1 * * * * cd /usr/home/sites/jaysexphotos.com/httpdocs/scj/bin; env HTTP_HOST=jaysexphotos.com /usr/local/bin/php -q rot.php


I have set the cronjobs to */20 i can not do that to save server power?

Re: Cron

Posted: Thu Apr 18, 2013 12:18 pm
by admin
You have to run cron scripts every minute.
What power do you want to save and why ?

Re: Cron

Posted: Thu Apr 18, 2013 12:27 pm
by bladex21
If you add a lot of cronjobs toi run every minute the server will get a hight load in the end.

Re: Cron

Posted: Thu Apr 18, 2013 12:45 pm
by admin
So do you already have high load ?

Re: Cron

Posted: Thu Apr 18, 2013 1:02 pm
by bladex21
No but i will proberly get is, I have 30 ST sites on my server i do that same on to.

Re: Cron

Posted: Thu Apr 18, 2013 2:31 pm
by admin
Setup everything as it should be.
Make sure you setup crobtab properly (http://smartcj.com/wiki/doku.php?id=cro ... b_settings)
and tune mysql (http://smartcj.com/wiki/doku.php?id=mysql_tunning)