Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 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" To: cygwin AT cygwin DOT com Subject: Re: Crontab does not run Date: Wed, 19 Nov 2003 14:19:09 -0800 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 19 Nov 2003 22:19:10.0239 (UTC) FILETIME=[27A83AF0:01C3AEEB] 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 . 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'. _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=dept/bcomm&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/