Changeset 12224


Ignore:
Timestamp:
05/07/12 14:31:55 (13 years ago)
Author:
Eric.Larour
Message:

Better instructions on cron and ssmtp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/externalpackages/windows/InstallInstructions.txt

    r11946 r12224  
    4242python: Python language interpreter
    4343unzip
     44cygrunsrv
    4445
    4546
     
    144145
    145146How to setup a Cron job?
    146 Download exim and cron from cygwin setup. Run exim-config (don't forget to launch your cygwin terminal as
    147 Administrator). If asked for a daemon name, type ntsec. Also, if cron complains about sendmail,
    148 symlink /usr/lib/sendmail to /usr/sbin/sendmail.  Then link /usr/sbin/sendmail
    149 to /usr/bin/exim. Alternatively, if you have an smtp server, you can download and configure
    150 ssmtp.  Run ssmtp-config
    151 as Administrator and link /usr/sbin/sendmail to /usr/bin/ssmtp. After the email has been configured,
    152 run cron-config as Administrator.
     147First, make sure you downloaded cygrunsrv, otherwise the cron setup will only work on a per-session
     148basis! Also, make sure that you have an email correctly setup.  In particular, cron relies on the
     149/usr/sbin/sendmail script. If it does not exist, cron will not send emails. Most email management
     150systems will create this script, but you need to check on it.
     151Run cron-config  and fill up the questions. For daemon name, type ntsec.
     152Be careful, make sure that you are running your terminal as Administrator,
     153otherwise your settings will be only user-based.
     154How to setup email?
     155
     156Preferred way is through ssmtp. Download it on cygwin, and type ssmtp-config.  If the ssmtp
     157daemon does not create /usr/sbin/sendmail, be sure to create a symlink from the email client
     158to the latter file. Be careful, make sure that you are running your terminal as Administrator,
     159otherwise your settings will be only user-based.
Note: See TracChangeset for help on using the changeset viewer.