delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/14/06:49:09

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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: Wed, 14 Aug 2002 18:54:21 +0800
From: Greg Matheson <lang AT ms DOT chinmin DOT edu DOT tw>
To: cygwin AT cygwin DOT com
Subject: Re: cron: proving operator error
Message-ID: <20020814185421.A5091@ms.chinmin.edu.tw>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <3500515B75D9D311948800508BA37955950600 AT EX-LONDON>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <3500515B75D9D311948800508BA37955950600@EX-LONDON>; from Vince.Hoffman@uk.circle.com on Wed, Aug 14, 2002 at 10:10:26 +0100

On Wed, 14 Aug 2002, Vince Hoffman wrote:

> > Can anyone suggest a simple program to test cron works?

> The easiest test is just to "touch" a file and check it is a) created and b)
> its modification time is changed each time the cron job should run. (do it
> in /tmp or somewhere else with full permissions to everyone.)

That's it!

	mr_bean AT AFLD-SERVER ~
	$ ls -l /tmp/testfile
	ls: /tmp/testfile: No such file or directory

	mr_bean AT AFLD-SERVER ~
	$ !!
	ls -l /tmp/testfile
	-rw-rw-rw-    1 mr_bean  None            0 Aug 14 18:52 /tmp/testfile

	mr_bean AT AFLD-SERVER ~
	$ !!
	ls -l /tmp/testfile
	-rw-rw-rw-    1 mr_bean  None            0 Aug 14 18:53 /tmp/testfile

I must have spent about 7 hours on the documentation and tweaking
/etc/passwd, thinking something was wrong with cron. Oh well, I
guess I learned a lot about Windows 2000 ;-)

Now to see what's wrong with my FTP and SSMTP programs.

Thanks.

-- 
Greg Matheson                Failure: What happens when the irresistible
Chinmin College              force meets the immovable object.
                                 
Taiwan Penpals Archive <URL: http://netcity.hinet.net/kurage>

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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