Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <422A1A2F.60001@streamprocessors.com>
Date: Sat, 05 Mar 2005 12:44:31 -0800
From: Ravi Ram <raviram@streamprocessors.com>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
MIME-Version: 1.0
To: Cygwin List <cygwin@cygwin.com>
Subject: Re: cron  and cygwin
References: <4229FC68.9020108@streamprocessors.com> <6.2.0.14.0.20050305141337.02fa5030@pop.prospeed.net>
In-Reply-To: <6.2.0.14.0.20050305141337.02fa5030@pop.prospeed.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-CLAMAV-Scanner: Scanned by ClamAV on SMTP
X-Spam-Checker-Version: SpamAssassin 3.0.1-spi (2004-10-22) on dmz.spi.local
X-Spam-Level: 
X-Spam-Status: No, score=-102.8 required=5.0 tests=ALL_TRUSTED,AWL, USER_IN_WHITELIST autolearn=ham version=3.0.1-spi

Larry Hall wrote:

>At 01:37 PM 3/5/2005, you wrote:
>  
>
>>I have setup cron services in cygwin and am trying to run a csh scriot using cron
>>nad could not get it the script working. I can run the script as it is but when i
>>launch it using cron it doesn't work. The script is in a samba share.
>>
>>
>>crontab -e
>>------------
>>13 10  * * *    (/mnt/user/test/sw/cron.run  | /usr/bin/email -s cron_test  raviram@streamprocessors.com)
>>Cron works if i remove the cron.run and use something like the one shown below
>>13 10  * * *    ( date | /usr/bin/email -s cron_test  
>>raviram@streamprocessors.com)
>>I started cron as me using /bin/cron-config. I also tried  using the
>>cygrunserver -E -R and -I -S options.
>>I mounted the /mnt/user partition using  mount -X ...
>>
>>cron.run
>>----------
>>#!/usr/bin/csh
>>#(cd /cygdrive/u/p4_main/test/sw; make ncheck)
>>(cd /mnt/user/test/sw; rm -f cron.test; /usr/bin/date; touch cron.test)
>>
>>I would appreciate any pointers, help.
>>    
>>
>
>
>Checked the recent archives?
>
><http://sourceware.org/ml/cygwin/2005-03/msg00149.html>
>  
>

Ya i did. Couldn't find any pointers. Will check again


--Ravi

>
>
>--
>Larry Hall                              http://www.rfk.com
>RFK Partners, Inc.                      (508) 893-9779 - RFK Office
>838 Washington Street                   (508) 893-9889 - FAX
>Holliston, MA 01746                     
>
>  
>



--
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/

