delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/12/16/15:38:52

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <4EEBAC43.8060603@bopp.net>
Date: Fri, 16 Dec 2011 14:38:27 -0600
From: Jeremy Bopp <jeremy AT bopp DOT net>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111124 Thunderbird/8.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: cron still not working - even after rerunning cron config
References: <20111216203108 DOT GE14806 AT mrvideo DOT vidiot DOT com>
In-Reply-To: <20111216203108.GE14806@mrvideo.vidiot.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

--------------enig4C4D96E3B39A6C35F40AA630
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 12/16/2011 02:31 PM, Mike Brown wrote:
> I desperately need to get this fixed as I will be leaving for a trip on
> the 20th and have some cron stuff to run while I am gone.
>=20
> I ran cron-diagnose.sh, which now runs the cron-config, and changed from
> just-me to local system and that still didn't fix the problem.  A ps -eaf
> shows that cron is now UID SYSTEM and not 0.  But that did not make a
> difference.  I set up the following entry in my crontab:
>=20
>     12 14 * * *	touch /tmp/crontest
>=20
> The time came and went and no zero length file showed up.
>=20
> Running cronevents, the list had the following error line:
>=20
> 2011/12/16 14:12:01 [SYSTEM] /usr/sbin/cron: PID 2524: (Vidiot) WRONG FIL=
E OWNER (tabs/Vidiot)
>=20
> Which file is it exactly complaining about?  My crontab file, which worked
> under 1.5?  What is needed to fix it?  Where is the crontab file placed?
>=20
> Please, time is critical.

Sorry that I can't help you with your cron problem, but have you
considered using the Windows Task Scheduler instead given the urgency of
your situation?  It can be used to kick off Cygwin processes just like
any other.  You'll need to wrap your existing tasks with a script in
order to ensure that they receive the right environment, but that may be
easier than debugging cron at this time.

-Jeremy


--------------enig4C4D96E3B39A6C35F40AA630
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7rrEMACgkQHt4KKRq6ZjcDYwCeNOPyu8mcGWaLfavno7YPPGuQ
h0UAn2nVK8CX2y8eCbEaQhMknL2moew8
=d47v
-----END PGP SIGNATURE-----

--------------enig4C4D96E3B39A6C35F40AA630--

- Raw text -


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