>
> jj
> No mail for jj
>
> A full 5 minutes after editing.
but the entries run at 23:30, 08:00 and 23:59, you have to wait until the
corresponding hour for each entry. If the time passes and you see no email,
check the messages log and the mail log.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
> Progress. I can’t believe I pulled a dunce move and didn’t remove the
> redirection and/or piping first.
> Too many terminals, so little time, I guess.
It happens.
> Thanks!
Welcome
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
Habitual wrote:
> Well, progress is subjective, I guess.
>
>
> Code:
> --------------------
> Jun 20 23:59:01 localhost /USR/SBIN/CRON[11201]: (jj) CMD (/home/jj/bin/c9internalS3_du.sh)
> --------------------
> ran but no email.
IIRC, when a job produces no output, no email is sent. Could that be the
reason? Also IIRC, it’s possible to override that so an empty email is
sent. Or you can add ‘echo date’ to your command, or somesuch.
On 2012-06-21 17:16, Habitual wrote:
>
> Well, progress is subjective, I guess.
>
>
> Code:
> --------------------
> Jun 20 23:59:01 localhost /USR/SBIN/CRON[11201]: (jj) CMD (/home/jj/bin/c9internalS3_du.sh)
> --------------------
> ran but no email.
You should see an entry in the messages log that the job runs. The email
would contain the normal output to screen of the command, if any; if there
is none, there is no email.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
Yes, it is! But I am confused why “all of a sudden” the crontab’d scripts now need an “echo date” in them to get mail…
These were working without them for about a year. I did see an update to cron|cronie recently, but the mail
wasn’t working before that.
Habitual wrote:
> djh-novell;2470724 Wrote:
>> Habitual wrote:
>>> You’ve got Mail!
>> Good news!
>
> Yes, it is! But I am confused why “all of a sudden” the crontab’d
> scripts now need an “echo date” in them to get mail…
I have one system that normally sends me useful mail but occasionally
sends me a mail saying that the output is binary. When I examine the
‘binary’ attachment, it’s just plain text like all the other messages.
At least it keeps Murphy busy so he doesn’t mess up other things.
> Yes, it is! But I am confused why “all of a sudden” the crontab’d
> scripts now need an “echo date” in them to get mail…
Putting an echo forces the script to do some output to “console”, and that
is what gets emailed. If there is no output, there is no email. I think
there is a setting somewhere that forces cron to send emails even when
there is no output.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)