On Wed, Feb 02, 2011 at 13:43:38 -0600, Charlie Smotherman wrote:
> Tino, Hi
> 
> On Wed, Feb 2, 2011 at 1:08 AM, Tino Keitel
> <tino.keitel+debb...@tikei.de> wrote:
> > Package: ampache
> > Version: 3.5.4-9
> > Severity: normal
> >
> > The cron.daily script generates a mail even if nothing special happened. It
> > should only generate output if something goes wrong.
> 
> How is this a bug in ampache's cron.daily script?  Ampache's
> cron.daily script does not create or mail emails.  This is something
> cron does, not ampache.

But the content of the mails is useless. It basically seems to list a
part of my music collection in an unsorted order.  Why?  I don't know
of any other package which sends daily cron mails without interesting
content.

> I would suggest having a look at crons manpage and possibly
> reconfiguring cron to meet your needs.

What exactly do you mean? I want to get cron mails, if something
_interesting_ happens in a cron script (read: it produces output, like
warnings or errors).  The ampache cron script is run by anacron. Its
manpage states:

If a job generates any output on its standard output or standard error,
the  output is mailed to the user running Anacron (usually root), or to
the address  contained  by  the  MAILTO  environment  variable in  the
crontab, if such exists.

So, only a global setting. Turing that off would turn off all cron
mails, which is not what I want.

Regards,
Tino




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to