Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <41648C3B.4040903@x-ray.at>
Date: Thu, 07 Oct 2004 02:22:19 +0200
From: Reini Urban <rurban@x-ray.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.lunn@russlunn.demon.co.uk>
CC: cygwin@cygwin.com
Subject: Re: cron doesnt run jobs (sometimes)!
References: <00cf01c4abec$15410230$c600a8c0@rl>
In-Reply-To: <00cf01c4abec$15410230$c600a8c0@rl>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
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/

