Thanks Eric,

I can't see the line that you're referring to in my copy of the
multicron-p script.

Around line 33, I have the following:

main () {

prog=`basename $0`
        case $prog in
                *-p )   periodic;;
                *-d )   daily   ;;
                *-w )   weekly  ;;
                *-m )   monthly ;;
                * ) echo "Usage: Call (prog) as (prog)-p, -d, -w, or -m";
exit 1  ;;
        esac
}

This isn't the "echo" line that you were referring to is it?

Anything else I can try?

Thanks

Nick

> -----Original Message-----
> From: Eric Wolzak [mailto:[EMAIL PROTECTED]
> Sent: 07 March 2003 16:56
> To: [EMAIL PROTECTED]; Nick Taylor
> Subject: Re: [leaf-user] A Couple Of Problems...
> 
> 
> Hello Nick
> 
> > 
> > I'm using Bering 1.1 and overall think it's wonderful. There are
> > just a couple of things that I'm having difficulty with:
> > 
> > 1) I can't get Bering to send me emails. Every hour there's an
> >    entry in "cron.log" similar to the following:
> > 
> >    MAIL (mailed 19 bytes of output but got status 0x0001 )
> sorry to see it is still there, this is due to a line i inserted in a 
> debugging session and  forgot to remove.
> 
> Remove the line:
> # echo $prog 
> in routine main()  around linenr 33.
> in the multicron-p script
> 
> 
> >    If I use the MAIL command from the command-line, I can get it
> >    to send a message, but never via cron.
> Did you set the
> lrp_SPACECHECK=YES
> lrp_SC_MAIL_LEVEL=2
> in this settings
> Cron will only send a message if the Space is so limited that 
> it had to 
> go to "step 2" deleting files.
> If this situation doesn't occur, you won't get mail :) 
> 
> If you want a mail every day, for example get your log files mailed 
> make a script like you did by hand and inserted as cron job.
> Remember to set the full path to executables !
> > 
> >    Incidentally I discovered that pointing it at an Exchange 5.5
> >    server does not work, as the mail command appears to disagree
> >    with Exchange as to the correct sequence of an SMTP 
> conversation...
> 
> (who is right ;) ) 
>  
> >    I've now re-pointed it at a Linux box, running Sendmail and all
> >    is well on that front.
> > Any pointers that anyone could give me would be very much
> > appreciated!
> > 
> > Thanks
> > 
> > Nick
> 
> Regards
> Eric Wolzak
> member of the Bering Crew
> 


-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to