delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/07/20/16:46:25

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
Subject: Re: cron starts multiple commands
References: <AANLkTikVBhovFRKontlFITOMb9BdVGMdmZdG840vnvog AT mail DOT gmail DOT com>
Date: Tue, 20 Jul 2010 22:46:00 +0200
MIME-Version: 1.0
From: "Matthias Andree" <matthias DOT andree AT gmx DOT de>
Message-ID: <op.vf5tayqb1e62zd@merlin.emma.line.org>
In-Reply-To: <AANLkTikVBhovFRKontlFITOMb9BdVGMdmZdG840vnvog@mail.gmail.com>
User-Agent: Opera Mail/10.60 (Linux)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

Am 20.07.2010, 19:15 Uhr, schrieb matias kaukonen:

> I'm using cron to backup my files.  The problem is cron seems
> to repeat the backup every minute for 5 minutes.  Pls refer to my cron  
> file.
> --------------------------------------------------------------------------------------------------------------------------------------
> SHELL=/bin/bash
> PATH=/bin:/sbin:/bin:/usr/sbin:/usr/bin:/home/lhovey/utils/scripts/:/home/lhovey/backups/:.
> time_stamp=$(date +%y.%m.%d-%H)
>
> @daily ./backups/make_backup.bash
> -------------------------------------------------------------------------------------------------------------------------------------
> Has anyone seen this before with cygwin?  Do they know what the fix is  
> for this?

Does the cron service crash and get restarted by your service  
configuration?  Check your system event log, or the output of cronevents  
for hints.

Does the make_backup script succeed and complete, or does it abort  
prematurely?

-- 
Matthias Andree

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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