Page 1 of 1

Cron don't run jobs

Posted: Thu Jun 16, 2016 7:33 pm
by kjernekrafttrikk
Actually, I already started a similar topic on Russian part of forum.

In the beginning, the problem was that stats had not updated since the moment of Vesta's installation.
I dived into this and noticed that CRON don't send me notifications about jobs responsible to update stats. It send me mails about my own jobs, though.

I tried to change

Code: Select all

sudo
to

Code: Select all

sh
-> get mail with error "Can't open file"
Tried to delete the command to change privilegis -> get letter with error "Permission denied".

Re: Cron don't run jobs

Posted: Wed Jul 20, 2016 8:02 am
by skurudo
OS?
VestaCP version?

Problem with stats and do you want cronjob messages? Correct?

Re: Cron don't run jobs

Posted: Sun Aug 14, 2016 1:16 pm
by kjernekrafttrikk
skurudo wrote:OS?
VestaCP version?

Problem with stats and do you want cronjob messages? Correct?
Debian 5.3.1. Vesta 0.9.8.

I was told by my experienced friend that CRON don't send mail by default if no errors. But there is an error! Therefore, I don't really want cron messages, I just want stats to work.

Re: Cron don't run jobs

Posted: Wed Aug 24, 2016 11:43 am
by skurudo
kjernekrafttrikk wrote:Debian 5.3.1. Vesta 0.9.8.
I was told by my experienced friend that CRON don't send mail by default if no errors. But there is an error! Therefore, I don't really want cron messages, I just want stats to work.
Wow! So old version! ;)
Try your cron command from ssh console first.

Re: Cron don't run jobs

Posted: Thu Aug 25, 2016 4:28 pm
by maniek015
Check this thread : viewtopic.php?t=12446