CRON: i don't want to receive email or change the address

Talk about anything that doesn't fit in the other catagories :) (and of course is about Group-Office)

Moderator: Developers

evoprogetti
Posts: 12
Joined: Wed Dec 11, 2013 4:53 pm

CRON: i don't want to receive email or change the address

Postby evoprogetti » Tue Jan 07, 2014 9:31 am

Hi to all,
I install GO but i have a problem with an email from CRON

I receive at 2:00 am every day an email with this subject: Cron /usr/share​/groupoffi​ce/groupof​ficecli.ph​p -r=postfix​admin/mail​box/cacheU​sage -c=/etc/gr​oupoffice/​config.php

And inside i have the details for each user disk usage.

Now i have installed the manage task system module and i set to Disable for Calculate Disk Usage but still to receive this email everyday.

How can i do to definitive disable this emai or at least change the email address???
mschering
Site Admin
Site Admin
Posts: 8333
Joined: Tue Apr 20, 2004 1:06 pm
Location: The Netherlands - Den Bosch
Contact:

Re: CRON: i don't want to receive email or change the addres

Postby mschering » Tue Jan 07, 2014 10:42 am

append "> /dev/null" to the cronjob
Best regards,

Merijn Schering
Intermesh
evoprogetti
Posts: 12
Joined: Wed Dec 11, 2013 4:53 pm

Re: CRON: i don't want to receive email or change the addres

Postby evoprogetti » Wed Jan 08, 2014 3:20 pm

i have this situation in etc/cron.d/groupoffice-cron

* * * * * www-data php /usr/share/groupoffice/groupofficecli.php -r=core/cron/run -c=/etc/groupoffice/config.php -q > /dev/null

i now change it in this way hoping that this is ok:

0 0 * * * www-data php /usr/share/groupoffice/groupofficecli.php -r=core/cron/run -c=/etc/groupoffice/config.php -q > /dev/null
mschering
Site Admin
Site Admin
Posts: 8333
Joined: Tue Apr 20, 2004 1:06 pm
Location: The Netherlands - Den Bosch
Contact:

Re: CRON: i don't want to receive email or change the addres

Postby mschering » Wed Jan 08, 2014 3:28 pm

No, that will break the cron system

You must change just this one:

/usr/share​/groupoffi​ce/groupof​ficecli.ph​p -r=postfix​admin/mail​box/cacheU​sage -c=/etc/gr​oupoffice/​config.php > /dev/null
Best regards,

Merijn Schering
Intermesh

Who is online

Users browsing this forum: No registered users and 3 guests

cron