This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Crontab on Win9X works


Corinna,

The attached patch modifies crontab.c to let cron run as it
should on Win9x.

The change in env.c reverts to ignoring the daemon environment, 
on Win9x only.
USE_SIGCHLD is now left undefined in compat.h to get
rid of a syslog message about the mail command failing.
 
In addition I would like to allow the use of mailers other
than ssmtp while preserving current installations.
This is done by patching compat.h to remove
#define _PATH_SENDMAIL  "/usr/sbin/ssmtp"
and patching /etc/postinstall/cron.sh to
ln -s /usr/sbin/ssmtp.exe /usr/sbin/sendmail
Users are free to point /usr/sbin/sendmail as they wish.

Pierre

Attachment: cron.diff
Description: Text document

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]