Cron

Post Reply
bladex21
Posts: 187
Joined: Fri Feb 15, 2013 2:49 pm

Cron

Post 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?
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: Cron

Post by admin »

You have to run cron scripts every minute.
What power do you want to save and why ?
Don't forget to run script update
bladex21
Posts: 187
Joined: Fri Feb 15, 2013 2:49 pm

Re: Cron

Post by bladex21 »

If you add a lot of cronjobs toi run every minute the server will get a hight load in the end.
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: Cron

Post by admin »

So do you already have high load ?
Don't forget to run script update
bladex21
Posts: 187
Joined: Fri Feb 15, 2013 2:49 pm

Re: Cron

Post by bladex21 »

No but i will proberly get is, I have 30 ST sites on my server i do that same on to.
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: Cron

Post 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)
Don't forget to run script update
Post Reply