This is the mail archive of the
mailing list for the Cygwin project.
Re: Crontab does not run
- From: Larry Hall <cygwin-lh at cygwin dot com>
- To: ashman at interchange dot ubc dot ca, cygwin at cygwin dot com
- Date: Wed, 19 Nov 2003 17:54:19 -0500
- Subject: Re: Crontab does not run
- References: <Law11-F37zbRNRl49yK00012432@hotmail.com>
- Reply-to: Cygwin List <cygwin at cygwin dot com>
At 05:19 PM 11/19/2003, Tim Ashman you wrote:
>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!
No, not beyond my original suggestion (my WAG aside) of visiting
<http://cygwin.com/problems.html> and providing the information it
>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'.
>Tired of spam? Get advanced junk mail protection with MSN 8.
>Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
>Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html