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 Date: Wed, 14 Aug 2002 18:54:21 +0800 From: Greg Matheson 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 -- 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/