Re: How to stop a cron job sending email
- From: "Chris Rees" <utisoft@xxxxxxxxxxxxxx>
- Date: Fri, 31 Oct 2008 10:58:22 +0000
2008/10/31 Johann Spies <jspies@xxxxxxxxx>:
The same user crontabs (that run every 5 minutes) that were used on my
old computer (Debian) now (on Ubuntu Hardy) produce an email for
every run.
Here is an example of one of them:
# m h dom mon dow command
0-59/5 * * * * /usr/local/bin/krypos
$ cat /usr/local/bin/krypos
#!/bin/sh
killall fetchmail &> /dev/null
/usr/bin/fetchmail &> /dev/null
I have also tried
0-59/5 * * * * /usr/local/bin/krypos &> /dev/null
But I still get the email every 5 minutes.
That did not happen on my old computer.
How do I stop this?
Regards
Johann
--
Johann Spies Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch
"Bless the LORD, O my soul, and forget not all his
benefits: Who forgiveth all thine iniquities; who
healeth all thy diseases; Who redeemeth thy life from
destruction; who crowneth thee with lovingkindness and
tender mercies; Who satisfieth thy mouth with good
things; so that thy youth is renewed like the
eagle's." Psalms 103:2-5
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
The actual redirect should be 2>&1
Chris
--
R< $&h ! > $- ! $+ $@ $2 < @ $1 .UUCP. > (sendmail.cf)
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- Follow-Ups:
- Re: How to stop a cron job sending email
- From: Erik Christiansen
- Re: How to stop a cron job sending email
- From: Chris Rees
- Re: How to stop a cron job sending email
- References:
- How to stop a cron job sending email
- From: Johann Spies
- How to stop a cron job sending email
- Prev by Date: Just upgraded to Intrepid ; networking issues
- Next by Date: Re: How to stop a cron job sending email
- Previous by thread: How to stop a cron job sending email
- Next by thread: Re: How to stop a cron job sending email
- Index(es):
Relevant Pages
|