delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/10/06/20:22:31

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
Message-ID: <41648C3B.4040903@x-ray.at>
Date: Thu, 07 Oct 2004 02:22:19 +0200
From: Reini Urban <rurban AT x-ray DOT at>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8a3) Gecko/20040817
MIME-Version: 1.0
To: russ <russ DOT lunn AT russlunn DOT demon DOT co DOT uk>
CC: cygwin AT cygwin DOT com
Subject: Re: cron doesnt run jobs (sometimes)!
References: <00cf01c4abec$15410230$c600a8c0 AT rl>
In-Reply-To: <00cf01c4abec$15410230$c600a8c0@rl>
X-IsSubscribed: yes

russ schrieb:

> Hi there list!
> 
> 1st off .im new to cygwin.
> 
> i have built some scripts to do tape backups
> basically a find, then a cpio, then tar it to tape.
> 
> it runs from the command line.
> 
> it doesnt run from crontab, although from event viewer i see that cron ran.
> 
> also i put another line in crontab to run ls -l >> /usr/tmp/test every
> minute.
> this works just fine!.
> 
> ive lightly tapped all my scripts with chmod 777 still doesnt work!

not the script! the data must be readable for SYSTEM.

> btw its a win2k server (dc)
> 
> 
> any ideas?

check if it runs under okay in a "sysbash" shell. must be the permissions.

search the ml archives for "sysbash". still not a package
or run manually:
 > at <soon> /interactive bash --login -i

-- 
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/

--
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/

- Raw text -


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