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 To: cygwin AT cygwin DOT com From: Andrew DeFaria Subject: Cron problem/Documentation and Setup Date: Tue, 17 Aug 2004 18:39:16 -0700 Lines: 44 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT sea DOT gmane DOT org X-Gmane-NNTP-Posting-Host: 12.9.207.207 User-Agent: Mozilla Thunderbird 0.7.2 (Windows/20040707) X-IsSubscribed: yes I'm having a problem with cron in this new environment. I cannot execute any of my own scripts in my ~/bin. I was also having problems executing even things in /tmp! So like a good little boy I decided to read the readme for cron again before asking here. Trouble is I have no cron readme! I remember it was in /usr/doc/Cygwin but alas: $ ls /usr/doc/cygwin ctags-5.5.README* openssl-0.9.7d.README* whois-4.6.14-1.README* ghostscript-7.05.README* procps-010801.README* mc-4.6.0.README* rxvt-2.7.10.README* So I figured "Oops, guess I didn't install all the documentation" and fired up setup.exe to download from the internet. I use ftp://planetmirror.com and when I attempt to do that I get: (null) line 1537: parse error, unexpected COMMA, expecting STRING (null) line 1537: unrecognized line 1537 (do you have the latest setup?) (null) line 1537: unrecognized line 1537 (do you have the latest setup?) (null) line 1537: unrecognized line 1537 (do you have the latest setup?) Problem is I *do* have the latest version of setup! I just downloaded it again to make sure. Same error. Tried mirrors.kernel.org - same error! As for my cron problem I can execute rudimentary commands such as ls, pwd and redirect the output to /tmp/debug.log. From that I can see that pwd tells me that I'm in /var/cron. The script I want to execute is under ~/bin (which is on a network share). I copied that script to /tmp and insured that it was set 777. Then I performed the following cron jobs: 18 17 * * * pwd >> /tmp/debug.log 2>&1 19 17 * * * ls >> /tmp/debug.log 2>&1 20 17 * * * ls -l /tmp/myscript >> /tmp/debug.log 2>&1 21 17 * * * /tmp/myscript >> /tmp/debug.log 2>&1 Here's the result: /var/cron tabs -rwxrwxrwx 1 TPAD3741 Domain U 5201 Aug 17 17:15 /tmp/myscript /tmp/myscript never get's executed. -- Okay, who put a "stop payment" on my reality check? -- 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/