Re: How to configure cron (and pam?) to allow mail from cron?

2015-11-18 Thread Chris Bannister
On Tue, Nov 17, 2015 at 06:35:26PM +0100, to...@tuxteam.de wrote: > On Wed, Nov 18, 2015 at 07:04:38AM +1300, Chris Bannister wrote: > > On Tue, Nov 17, 2015 at 09:05:03AM -0600, David Wright wrote: > > > Alternatively you could get cron to run a normal script and do > > > everything in that. Just

Re: How to configure cron (and pam?) to allow mail from cron?

2015-11-17 Thread David Wright
On Sat 14 Nov 2015 at 21:25:47 (-0500), Kynn Jones wrote: > On Sat, Nov 14, 2015 at 8:36 PM, Gene Heskett wrote: > > On Saturday 14 November 2015 17:58:59 Kynn Jones wrote: > > > >> I'm trying to set up a `cron` job that will send me mail for some > >> outputs. > >> > >> In

Re: How to configure cron (and pam?) to allow mail from cron?

2015-11-17 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Nov 18, 2015 at 07:04:38AM +1300, Chris Bannister wrote: > On Tue, Nov 17, 2015 at 09:05:03AM -0600, David Wright wrote: > > Alternatively you could get cron to run a normal script and do > > everything in that. Just don't be caught naming

Re: How to configure cron (and pam?) to allow mail from cron?

2015-11-17 Thread Chris Bannister
On Tue, Nov 17, 2015 at 09:05:03AM -0600, David Wright wrote: > Alternatively you could get cron to run a normal script and do > everything in that. Just don't be caught naming your script > "script.sh" :) Especially if it's written in Perl. :) -- "If you're not careful, the newspapers will

Re: How to configure cron (and pam?) to allow mail from cron?

2015-11-14 Thread Gene Heskett
On Saturday 14 November 2015 21:25:47 Kynn Jones wrote: > On Sat, Nov 14, 2015 at 8:36 PM, Gene Heskett wrote: > > On Saturday 14 November 2015 17:58:59 Kynn Jones wrote: > >> I'm trying to set up a `cron` job that will send me mail for some > >> outputs. > >> > >> In my

Re: How to configure cron (and pam?) to allow mail from cron?

2015-11-14 Thread Kynn Jones
On Sat, Nov 14, 2015 at 8:36 PM, Gene Heskett wrote: > On Saturday 14 November 2015 17:58:59 Kynn Jones wrote: > >> I'm trying to set up a `cron` job that will send me mail for some >> outputs. >> >> In my `crontab` I have the `MAILTO` variable set to my email address, >> as

How to configure cron (and pam?) to allow mail from cron?

2015-11-14 Thread Kynn Jones
I'm trying to set up a `cron` job that will send me mail for some outputs. In my `crontab` I have the `MAILTO` variable set to my email address, as well as the directives * * * * * /bin/date >> /tmp/debug_cron * * * * * /bin/date >&2 as a test (i.e. a proxy for the command I eventually want to

Re: How to configure cron (and pam?) to allow mail from cron?

2015-11-14 Thread Gene Heskett
On Saturday 14 November 2015 17:58:59 Kynn Jones wrote: > I'm trying to set up a `cron` job that will send me mail for some > outputs. > > In my `crontab` I have the `MAILTO` variable set to my email address, > as well as the directives > > * * * * * /bin/date >> /tmp/debug_cron > * * * * *