delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/10/07/10:46:13

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
Date: Fri, 7 Oct 2005 16:46:00 +0200 (W. Europe Daylight Time)
From: Orfeo Da Via <orfeo DOT davia AT microline-srl DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Cron problem
In-Reply-To: <Pine.GSO.4.63.0510071005110.501@slinky.cs.nyu.edu>
Message-ID: <Pine.WNT.4.58.0510071635180.572@sn2307128>
References: <Pine DOT WNT DOT 4 DOT 58 DOT 0510071413450 DOT 480 AT sn2307128> <Pine DOT GSO DOT 4 DOT 63 DOT 0510071005110 DOT 501 AT slinky DOT cs DOT nyu DOT edu>
MIME-Version: 1.0
X-Virus-Status: Clean
Note-from-DJ: This may be spam

--746286-4477-1128696360=:572
Content-Type: TEXT/PLAIN; charset=US-ASCII


Hi Igor,
thanks for your quicky reply!

I tryed in this way

$ crontab -l
 10 14 * * * /bin/date >> /usr/tmp/date.out 2>&1

but doesn't work!!


In attch. files is generated from:

$ cat /var/log/cron.log > cron.log.txt
$ ps -elf > ps-elf.txt

I've also changed the permission of my cron.pid

$ chown a+x /var/run/cron.pid
$ ls -l /var/run/cron.pid


In event.log the Windows Event Log output.. IMHO is generated from

$ crontab -l

Thanks
	Orfeo

> I'll quote your crontab inline to better comment on it:
>
> # DO NOT EDIT THIS FILE - edit the master and reinstall.
> # (/tmp/crontab.580 installed on Fri Oct  7 14:09:56 2005)
> # (Cron version -- $Id: crontab.c,v 1.8 2004/12/21 16:14:41 corinna Exp $)
> 10 14 * * * /bin/date >> /usr/tmp/date.out;
>
> First off, I'm not sure how cron will react to the semicolon at the end.
> Secondly, you need to redirect stderr as well as stdout, or deal with cron
> trying to mail you the output.
>
> Try
>
> 10 14 * * * /bin/date >> /usr/tmp/date.out 2>&1
>
> and see if that works for you (it should).  If not, take a look at
> /var/log/cron.log and the Windows Event Log for any relevant messages from
> cron.
> HTH,
> 	Igor
> --
> 				http://cs.nyu.edu/~pechtcha/
>       |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
> ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
>      |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
>     '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
>
> If there's any real truth it's that the entire multidimensional infinity
> of the Universe is almost certainly being run by a bunch of maniacs. /DA
>
--746286-4477-1128696360=:572
Content-Type: TEXT/plain; charset=US-ASCII; name="cron.log.txt"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine DOT WNT DOT 4 DOT 58 DOT 0510071646000 DOT 572 AT sn2307128>
Content-Description: 
Content-Disposition: attachment; filename="cron.log.txt"

WzE3MTJdIGNyb24gc3RhcnRlZApbMTQyOF0gY3JvbiBzdGFydGVkCg==

--746286-4477-1128696360=:572
Content-Type: TEXT/plain; charset=US-ASCII; name="ps-elf.txt"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine DOT WNT DOT 4 DOT 58 DOT 0510071646001 DOT 572 AT sn2307128>
Content-Description: 
Content-Disposition: attachment; filename="ps-elf.txt"

ICAgICBVSUQgICAgIFBJRCAgICBQUElEIFRUWSAgICAgU1RJTUUgQ09NTUFO
RA0KbWljZWtpbGwgICAgIDI5NiAgICAgICAxICAgMCAgMDg6Mjc6NDkgL3Vz
ci9iaW4vYmFzaA0KbWljZWtpbGwgICAgIDU3NiAgICAgICAxICAgPyAgMTY6
MTY6NTAgL3Vzci9iaW4vY3lncnVuc3J2DQptaWNla2lsbCAgICAxNDI4ICAg
ICA1NzYgICA/ICAxNjoxNjo1MSAvdXNyL3NiaW4vY3Jvbg0KbWljZWtpbGwg
ICAgMTgyOCAgICAgMjk2ICAgMCAgMTY6MzE6NDIgL3Vzci9iaW4vcHMNCg==

--746286-4477-1128696360=:572
Content-Type: TEXT/plain; charset=US-ASCII; name="eventlog.txt"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine DOT WNT DOT 4 DOT 58 DOT 0510071646002 DOT 572 AT sn2307128>
Content-Description: 
Content-Disposition: attachment; filename="eventlog.txt"

VGhlIGRlc2NyaXB0aW9uIGZvciBFdmVudCBJRCAoIDAgKSBpbiBTb3VyY2Ug
KCBjcm9udGFiICkgY2Fubm90IGJlDQpmb3VuZC4gVGhlIGxvY2FsIGNvbXB1
dGVyIG1heSBub3QgaGF2ZSB0aGUgbmVjZXNzYXJ5IHJlZ2lzdHJ5IGluZm9y
bWF0aW9uDQpvciBtZXNzYWdlIERMTCBmaWxlcyB0byBkaXNwbGF5IG1lc3Nh
Z2VzIGZyb20gYSByZW1vdGUgY29tcHV0ZXIuIFRoZQ0KZm9sbG93aW5nIGlu
Zm9ybWF0aW9uIGlzIHBhcnQgb2YgdGhlIGV2ZW50OiBjcm9udGFiIDogUElE
IDE2MjggOg0KKG1pY2VraWxsZXIpIExJU1QgKG1pY2VraWxsZXIpLg==

--746286-4477-1128696360=:572
Content-Type: APPLICATION/octet-stream; name="ls-cron.pid"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine DOT WNT DOT 4 DOT 58 DOT 0510071646003 DOT 572 AT sn2307128>
Content-Description: 
Content-Disposition: attachment; filename="ls-cron.pid"

LXJ3LXJ3LXJ3LSAgMSBtaWNla2lsbGVyIE5vbmUgNSBPY3QgIDcgMTY6MTYg
L3Zhci9ydW4vY3Jvbi5waWQK


--746286-4477-1128696360=:572
Content-Type: text/plain; charset=us-ascii

--
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/
--746286-4477-1128696360=:572--

- Raw text -


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