From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JHM5C-0002KT-7P for garchives@archives.gentoo.org; Tue, 22 Jan 2008 16:34:42 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 96D97E0CD4; Tue, 22 Jan 2008 16:34:40 +0000 (UTC) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.244]) by pigeon.gentoo.org (Postfix) with ESMTP id 7AC8AE0CD4 for ; Tue, 22 Jan 2008 16:34:40 +0000 (UTC) Received: by an-out-0708.google.com with SMTP id c8so545374ana.47 for ; Tue, 22 Jan 2008 08:34:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=ZUjzitAt19FaYfWSW99GvEW7kJqgX1Xik4mApW7CNQ4=; b=WcJKUi3wCR3Saht0b6nmY7xBWr60qK0z3JQmzphSLyDWaFHlrRAtT21n0goGPjTKlovqOuEK719KamyuxLrZEoR0Y1VzT0ceyUHlrROJvT7iEvtCZyVztw3LlLCWGxXNDaLMS7ddMY8NbsKRgWP5ZDKniZeU9OrOjeHHXdMn58o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=D7RJkyCam7+1xsf2GCX1Y8I5Ww+hwcLDHbw4VZ2JPWR5dWnrGTyCMwWUemdZdYeAbrDnAiZQvpmWXX2rCDJZ402diQK3+DaS9QxQnW9mq9VFUkvadnLaTs3ZXrWu1PMXpEKyfUg3ltfn9m0h7uZMktU1tORRYfqVlsBLm+cJ0Js= Received: by 10.100.249.9 with SMTP id w9mr17857619anh.105.1201019680222; Tue, 22 Jan 2008 08:34:40 -0800 (PST) Received: from localhost ( [189.68.91.96]) by mx.google.com with ESMTPS id 7sm7131030agd.33.2008.01.22.08.34.36 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 22 Jan 2008 08:34:39 -0800 (PST) Date: Tue, 22 Jan 2008 14:34:27 -0200 From: Guilherme Amadio To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Re: cron and ssmtp Message-ID: <20080122163427.GA10863@vaio> References: <20080122073646.099a5bea@lbg2.evolone.org> <20080122154805.189f89f2@zaphod.digimed.co.uk> <20080122081915.442a53cb@lbg2.evolone.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080122081915.442a53cb@lbg2.evolone.org> User-Agent: Mutt/1.5.16 (2007-06-09) X-Archives-Salt: 079a2a4b-e78d-434f-a774-3160ae87ae58 X-Archives-Hash: 1d0a8065d05d7c21c20f6b03d9232a79 Hi, On Tue, Jan 22, 2008 at 08:19:15AM -0800, Michael Higgins wrote: > I edit my crontab like sudo crontab -u mykhyggz -e > > At the top, is MAILTO="email@isp.com" > > My user belongs to cron group: groups > wheel cron users mykhyggz > > Cron is running: top bn1|grep cron > 5068 root 18 0 3072 692 552 S 0.0 0.7 0:00.00 cron > > 15 08 * * * echo hello world > > should have sent me an email with 'hello world' in the body at 8:15, or > so I believe, but didn't. > > What else can I check? > I believe that the MAILTO variable mails output only when there are errors, so try putting 'ls /idontexist' as a command and see if you get anything. You may have to mail normal output by hand. Cheers, -- gentoo-user@lists.gentoo.org mailing list