delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <452D69E2.9060501@cygwin.com> |
Date: | Wed, 11 Oct 2006 18:02:10 -0400 |
From: | "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com> |
Reply-To: | cygwin AT cygwin DOT com |
User-Agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060916 Fedora/1.5.0.7-1.fc4.remi Thunderbird/1.5.0.7 Mnenhy/0.7.4.0 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: 1.5.21-1:Windows 2003 Server & Cygwin Cron |
References: | <5378a6d40610111125tafbf553m263c2bf48a3a70b AT mail DOT gmail DOT com> |
In-Reply-To: | <5378a6d40610111125tafbf553m263c2bf48a3a70b@mail.gmail.com> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
On 10/11/2006, Mark Schubert wrote: > cron_server AT mcspd-a ~ > cron_server>crontab -l > # DO NOT EDIT THIS FILE - edit the master and reinstall. > # (/tmp/crontab.5292 installed on Wed Oct 11 18:05:28 2006) > # (Cron version -- $Id: crontab.c,v 1.8 2004/12/21 16:14:41 corinna Exp $) > * * * * * rm ~/this > * * * * * date > /home/cron_server/date.txt > > $ ls -la > total 36 > drwxrwxrwx+ 4 cron_server None 0 Oct 11 18:05 . > drwxrwxrwx+ 6 mark None 0 Oct 11 13:59 .. > -rwxr-xr-x 1 cron_server None 1150 Aug 28 15:07 .bash_profile > -rwxr-xr-x 1 cron_server None 3116 Aug 28 15:07 .bashrc > -rwxr-xr-x 1 cron_server None 1461 Aug 28 15:07 .inputrc > drwx------+ 2 cron_server None 0 Oct 11 18:04 .ssh > drwxrwxrwx+ 3 cron_server None 0 Oct 11 15:31 WINDOWS > -rw-r--r-- 1 cron_server None 23875 Oct 11 18:03 cygcheck.txt > -rw-r--r-- 1 cron_server None 0 Oct 11 14:16 this > > (no date.txt and still see "this") Try '/bin/rm' and '/bin/date'. Also, if you install ssmtp or exim, cron could send you email if there were failures. > Service : cron > Current State : Running > Controls Accepted : Stop > Command : /usr/sbin/cron -D > stdin path : /dev/null > stdout path : /var/log/cron.log > stderr path : /var/log/cron.log > Process Type : Own Process > Startup : Automatic > Account : LocalSystem > This says that cron is running as LocalSystem, not cron_server. Your sshd_server user should work for cron too if it works for sshd. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |