delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/11/20/19:41:41

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Originating-IP: [199.212.20.3]
X-Originating-Email: [timashman AT hotmail DOT com]
Reply-To: ashman AT interchange DOT ubc DOT ca
From: "Tim Ashman" <timashman AT hotmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Crontab does not run
Date: Wed, 19 Nov 2003 12:52:57 -0800
Mime-Version: 1.0
Message-ID: <Law11-F26BQvelmQyKp0000583a@hotmail.com>
X-OriginalArrivalTime: 20 Nov 2003 23:28:07.0726 (UTC) FILETIME=[F43464E0:01C3AFBD]
Note-from-DJ: This may be spam

I definitely installed Cygwin on my Windows 2k machine as "All Users". The 
crontab I am creating is under my individual user name. When I remove my 
crontab file and type the command "./crontab -l" it lists my username in the 
"no cronfile" response, which by the way is on the network domain, not the 
domain of my machine. I don't think this is a problem as I've checked out 
the /etc/passwd file, and it includes my username as it does the computer 
administrator.

I am running crontab in the bash shell, but the man pages mention the 
environmental variable SHELL=/bin/sh. I tried including this in my crontab 
as well as running crontab in sh, which doesn't work at all.

Any suggestions? Thanks again!

------------------------------------------

At 01:47 PM 11/19/2003, Tim Ashman you wrote:
>I am having trouble with the Cron utility. I have written a fairly simple 
>bash script that runs successfully on its own but does not work with 
>crontab. I am working on a Windows 2K machine. I tried running a simlilar 
>crontab on a linux machine and it worked fine. Two crontabs I have tried 
>out:
>
>39 10 * * * ./test.txt
>39 10 * * * /usr/bin/test.txt
>
>No error messages are generated. Nothing at all happens when the crontab 
>run time occurs. I've tried different crontab settings and have searched 
>for a similar problem on the mailing list, but have had no luck.

Really.  I thought the email archives were literally full of references to
threads on cron.

First, I'm going to direct you to <http://cygwin.com/problems.html>.
Providing good, accurate information about the problem, your system's
configuration, and the process you followed for setting up the service
(applicable in the case of cron) is always good form.  But with the
information you've provided, I'll make the WAG that you installed Cygwin
as "Just for Me", which doesn't work if you want to run services.  Either
reinstall or look at "man mount" to figure out how to change your mount
points from 'user' to 'system'.

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*  
http://join.msn.com/?page=features/virus&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019