was: Re: how to autorun script at startup as administrator? but now a new problem
Dave Stevens
geek at uniserve.com
Thu Jan 16 02:04:32 UTC 2020
On Mon, 30 Dec 2019 18:53:06 -0500
Ken D'Ambrosio <ken at jots.org> wrote:
> > I don't in fact have or want a MTA but have no idea why I
> > don't get the desired output or wtf about email??
>
> Output goes where output goes. If you really *want* the output of
> dmesg to go to the primary console, then tell it do do it:
> 40 * * * * /bin/dmesg > /dev/tty1
so I finally got curious enough to ask, with this result:
From: Paul Vixie <paul at redbarn.org>
To: Dave Stevens <geek at uniserve.com>
Subject: Re: no logfile for cron?
Date: Thu, 16 Jan 2020 08:12:47 +0700
User-Agent: Android
command output belongs to the user white crontab it is. so there would
have to be one log file per user.
command execution status goes to syslog.
I take it autocompletion changed "whose" to "white"
in response to:
Get BlueMail for Android
On 16 Jan 2020, 05:13, at 05:13, Dave Stevens <geek at uniserve.com> wrote:
>Hi Paul,
>
>I'm using cron for the first time and am a bit confused. On running it
>I got a message about a mta. The laptop I'm using doesn't have one and
>I don't want to go to a lot of trouble to set one up and manage it. I
>asked on the ubuntu list and was told that output from cron is
>normally mailed. "Isn't there a logfile?" I said. No.
>
>I eventually found that /var/mail/dave has what I was looking for so
>the problem is solved from that point of view and my app is going
>smoothly. But I'm curious why no /var/log/cron. What's the thinking on
>this? It seems it would be consistent with other system utilities.
>
>cat /etc/issue
>Ubuntu 18.04.3 LTS \n \l
>
>
>Thanks,
>
>Dave
More information about the ubuntu-users
mailing list