Hello! Since BB has its own sendmail it is reasonable enough to make BB crond be able to use it. This requires changes in both applets.
Since big crond implementations do not agree with each other how to perform mailing of results I would like BB crond to behave in clear and intuitive way. For that I added a per-line variable cl_MailTo which defaults to NULL but can be set via [EMAIL PROTECTED] line in crontab file. MAILTO=... can occur multiple times and, once occured, sets cl_MailTo field for all following lines till next time occured. If MAILTO= sets null address it means for the following lines no mailing is performed. That way crontab becomes significantly more flexible. Sendmail, on the other hand, must be able to read recipients, subject and message body right from stdin (as full-blown sendmail does). Attached is the patch to both crond and sendmail. Please, do consider. -- Vladimir
crond.patch
Description: Binary data
_______________________________________________ busybox mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/busybox
