X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Kevin Markle Subject: Re: Installing Cron on Windows 2003 Server... Date: Thu, 15 Mar 2007 17:22:43 -0400 Lines: 41 Message-ID: References: <45F9AB2D DOT 3090704 AT cygwin DOT com> Reply-To: kmarkle AT pbs DOT org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15"; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com René Berber submitted this idea : > Kevin Markle wrote: > >> Larry Hall (Cygwin) explained on 3/15/2007 : >>> Kevin Markle wrote: >>>> Hello, >>>> >>>> I'm attempting to install cron on a Windows 2003 machine and am >>>> somewhat Unix challanged. Is there a documented procedure that works >>>> somewhere. It seems that there are tons of posts out relating to this >>>> but they all seem to offer different information. :o) I was wondering >>>> if anybody has had any luck actually getting cron to work on a w3k >>>> machine. If possible I would like to run the service with a Network >>>> login if not a local admin would work... >>> >>> /usr/share/doc/Cygwin/cron.README >> >> I used that and it worked I have installed the service as a network user >>> logged in as that user and created this crontab file but it doesn't >> run. The file runs okay from command prompt but not from the crontab file? >> >> 1 * * * * /time.bash > /dev/null 2>&1 > > It's not clear if you used `crontab -e` or not? That command is the way to > add entries to your crontab, and if it doesn't run that means either cron is > not running (as a service) or there is a problem (probably logged in Windows' > event log). > >> In my reading I gathered that this was a way to get around intalling a >> mail client. > > Setting up cron to get around installing a mail client? Are you kidding? > mail clients (or servers) have nothing to do with cron; cron uses the server > (ssmtp or exim, whatever is symbolically linked to sendmail) to send > messages. is this taken care of during the install or so I need to do this? I know about the ln command but don't know what to link it to. Thanks for your help to.. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/