Hi there,
I have a script that works interactively. However when I schedule it to
run with cron, I encounter permission and environment issues. I checked
and even though my cron process has my user id, my group id is
different. Interactively, I have a gid=10545(mkgroup-l-d), but in my
cro
cting?
thanks,
Jerome
Jerome Fong wrote:
Hi there,
I have a script that works interactively. However when I schedule it to
run with cron, I encounter permission and environment issues. I checked
and even though my cron process has my user id, my group id is
different. Interactively, I have
Hi there,
Sorry, but I am totally confused now. I have a script that creates a
new sub-directory and copies files over to the new sub-directory. My
problem is, the directory where this sub-directory is supposed to be
created is restricted. Only I have have write permissions to the
director
I've been trying to create a variable for my Java home
(/cygdrive/c/Program\ Files/Java/jdk1.5.0_10). However, no matter how I
seem to create it, I am not able to use it. I read some threads that
suggest creating a symlink without the space in the path name, but is
that my only option?
What
Thanks Brian,
It works now. I thought I went through that, but apparently I didn't it
wrong.
thanks,
Jerome
Brian Dessent wrote:
Jerome Fong wrote:
export JAVA_HOME='/cygdrive/c/Program\ Files/Java/jdk1.5.0_10'
This is wrong. Either backslash-escape the space or use
I'm trying to write a script that allows me to change the port number
depending on when environment I'm in. I can pass in the port number to
my script, but I stuck trying to get sed modify my file with my port
number variable. Here is the line I'm executing
sed '1,$ s^8080^$Shutdown_Port^'
Hi There,
I was wondering if there was a way to save and duplicate my cygwin
installation so I can replicate it on a different machine. The idea is,
I have scripts and programs developed and tested on my cygwin install.
I want to be able to deploy everything that I am running on my machine.
Sorry, I'm not sure what am I suppose to tar up?
Christopher Faylor wrote:
On Wed, Jun 06, 2007 at 06:03:22PM -0500, DePriest, Jason R. wrote:
On 6/6/07, Jerome Fong wrote:
Hi There,
I was wondering if there was a way to save and duplicate my cygwin
installation so I can replicate it
Hi there,
Sorry, but I can't seem to find the answer anywhere. Using the ls -la
command, I get a listing of the files in my directory. However, I have
files with a "+" sign after their permissions. What does this mean? It
doesn't seem to show up in ls examples on the web.
ls -la
-rwx---
I am trying to use cygpath -u to convert my windows path to an unix path
in my shell script. However, it has problems with paths that has spaces
in it. For example, "cygpath -u c:\Program Files\Java" is converted to
/cygdrive/c/Program Files/Java, which doesn't work. Is there a flag
that I am
-u "$(cygpath -m -s "$JAVA_HOME")")"
$ echo $
/cygdrive/c/PROGRA~1/Java
$ cd $
$ pwd
/cygdrive/c/PROGRA~1/Java
Notice that I can use $ directly without have to use the double quote.
thanks,
Jerome
Jerome Fong wrote:
I am trying to use cygpath -u to convert
Thanks,
Jerome
Williams, Gerald S (Jerry) wrote:
Brian Dessent wrote:
$ cd $ttt
bash: cd: /cygdrive/c/Program: No such file or directory
Yes, that's wrong. [...] It's got nothing to do with
cygpath and everything to do with proper portable scripting practice.
Quite true. When you're using
I'm trying to login as another person, but using "su" tells me I don't
have permissions to use bash. Using login gives me errors about no home
directory and no permissions to use bash.
I check the bin directory and I own all the files. Did I install cygwin
incorrectly? who should own the cy
Hi there,
I'm not having any luck starting up cron as a service? I installed
cygwin as a local user, then I ran mkpasswd with -d since I realized
that I should have been a domain user instead. Now, I'm not able start
cron as a service. I am using cron_diagnose.sh to config cron as a
servi
Dave Korn wrote:
On 08 November 2007 20:28, Jerome Fong wrote:
Pierre A. Humblet wrote:
On 08 November 2007 19:29, Jerome Fong wrote:
I got cron working as a daemon, but now it stopped working again. I'm
getting the following errors in the cronevents output. Anyone know what
this
Pierre A. Humblet wrote:
| On 08 November 2007 19:29, Jerome Fong wrote:
|
| > I got cron working as a daemon, but now it stopped working again. I'm
| > getting the following errors in the cronevents output. Anyone know what
| > this means?
| > 2007/11/08 11:02:18 [SYSTE
I got cron working as a daemon, but now it stopped working again. I'm
getting the following errors in the cronevents output. Anyone know what
this means?
thanks,
Jerome
2007/11/08 11:02:18 [SYSTEM] /usr/sbin/cron: PID 1644: (*system*) NOT
REGULAR (/etc/cron.d/cron.daily)
2007/11/08 11:02:1
Interesting problem. I have a nightly build script that has a crontab
entry setup to run at 1:30 a.m. every morning. Besides building, it
also copies my jar files out to a remote, shared file system for
everyone to pickup and deploy in the morning. However, the cron job is
having problems wri
Larry Hall (Cygwin) wrote:
Jerome Fong wrote:
Dave Korn wrote:
On 08 November 2007 20:28, Jerome Fong wrote:
Pierre A. Humblet wrote:
On 08 November 2007 19:29, Jerome Fong wrote:
I got cron working as a daemon, but now it stopped working
again. I'm
getting the following errors i
Larry Hall (Cygwin) wrote:
Jerome Fong wrote:
Any idea what I need to change since chmod doesn't seem to have any
effect.
Add 'smbntsec' to your global CYGWIN environment variable or to your
service settings (in the registry) for crond and restart crond.
This doesn't
I'm get the mkpasswd error now even though I wasn't getting it before.
I've tried this on several machines now running both XP and Vista
without much luck. Therefore it doesn't appear to be a OS problem.
I saw the previous thread that said:
"Nothing Cygwin can do anything about. The access d
-- just
living with it since it is a single user installation. My guess is that it
has to do with Windows security policies. I am running XP SP1 with the
problem. At work we run WS2003 with no problem. What is your OS?
-Original Message-
From: Jerome Fong [mailto:[EMAIL PROTECTED]
Sent
-- just
living with it since it is a single user installation. My guess is that it
has to do with Windows security policies. I am running XP SP1 with the
problem. At work we run WS2003 with no problem. What is your OS?
-Original Message-
From: Jerome Fong [mailto:[EMAIL PROTECTED]
Sent
23 matches
Mail list logo