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: <014001c4ac85$59282ed0$c600a8c0@rl>
From: "russ" <russ.lunn@russlunn.demon.co.uk>
To: <cygwin@cygwin.com>
Subject: Fw: cron doesnt run jobs (sometimes)!
Date: Thu, 7 Oct 2004 16:50:19 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit


----- Original Message ----- 
From: "Reini Urban" <rurban@x-ray.at>
To: "russ" <russ.lunn@russlunn.demon.co.uk>
Cc: <cygwin@cygwin.com>
Sent: Thursday, October 07, 2004 1:22 AM
Subject: Re: cron doesnt run jobs (sometimes)!


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



Ah! it seems to work now. fantastic!
does anyone know how to get a system owned bash shell from an RDP session, i
can only get one
at the console. which is 300 miles away :-<


Russ




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

