Re: Problem with cron jobs

2014-08-21 Thread Duncan Roe
On Thu, Aug 21, 2014 at 07:59:29AM -0400, Cary Lewis wrote:
> I have created a small shell script that acts like a network
> connectivity watchdog, which checks for a successful ping to the
> internet, and if it doesn't work, restarts the machine.
>
> When I attempt to run it from a cron job, the script exits whenever
> any of the commands exits with a non zero status, preventing the
> script from doing its job.
>
> Has anyone seen this behaviour before?
>
Yes - this is the behaviour you get with "set -e". To negate it, put "set +e"
at the top of your script,

Cheers ... Duncan.

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



Re: Problem with cron jobs

2014-08-21 Thread Andrew DeFaria

On 8/21/2014 7:25 AM, Andrey Repin wrote:

Greetings, Cary Lewis!


I have created a small shell script that acts like a network
connectivity watchdog, which checks for a successful ping to the
internet, and if it doesn't work, restarts the machine.



When I attempt to run it from a cron job, the script exits whenever
any of the commands exits with a non zero status, preventing the
script from doing its job.



Has anyone seen this behaviour before?



I have tried wrapping the script in () to run it within a sub-shell,
but to no avail.


man bash
You have to disable abort-on-error in your script.


--
WBR,
Andrey Repin (anrdae...@yandex.ru) 21.08.2014, <18:24>

Sorry for my terrible english...




$ man bash | grep abort
   Control-G  will  abort  an  incremental search and restore the 
original

   abort (C-g)

It might be better if your searched for "errexit".

--
Andrew DeFaria
http://defaria.com


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



Re: Problem with cron jobs

2014-08-21 Thread Andrey Repin
Greetings, Cary Lewis!

> I have created a small shell script that acts like a network
> connectivity watchdog, which checks for a successful ping to the
> internet, and if it doesn't work, restarts the machine.

> When I attempt to run it from a cron job, the script exits whenever
> any of the commands exits with a non zero status, preventing the
> script from doing its job.

> Has anyone seen this behaviour before?

> I have tried wrapping the script in () to run it within a sub-shell,
> but to no avail.

man bash
You have to disable abort-on-error in your script.


--
WBR,
Andrey Repin (anrdae...@yandex.ru) 21.08.2014, <18:24>

Sorry for my terrible english...


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



Problem with cron jobs

2014-08-21 Thread Cary Lewis
I have created a small shell script that acts like a network
connectivity watchdog, which checks for a successful ping to the
internet, and if it doesn't work, restarts the machine.

When I attempt to run it from a cron job, the script exits whenever
any of the commands exits with a non zero status, preventing the
script from doing its job.

Has anyone seen this behaviour before?

I have tried wrapping the script in () to run it within a sub-shell,
but to no avail.

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



Re: Problem with Cron and Permissions...

2008-11-25 Thread Pierre A. Humblet

- Original Message - 
From: "Jim Kogler"
To: cygwin
Sent: Tuesday, November 25, 2008 4:42 PM
Subject: Problem with Cron and Permissions...


|I recently upgraded cygwin (current version info at end of email) from a
| fairly old version ( at least 3 years old...) and have run into this
| problem:
|
| I have a cron job, that runs a scrip on a SAMBA mount. The script writes
| to the SAMBA mount, here is a bit of the script:


Jim,

This is more likely to be a Samba/Cygwin problem than a cron issue.

This being said, there are three easy things you can try
1) Use cron-config to run the daemon as yourself (nightbus) instead of using 
the default Local 
System account
That will be OK as long as nightbus is the only cron user on that machine
2) Use cron-config to set "nosmbntsec" for CYGWIN   (the default for cron is 
"ntsec smbntsec",
 not sure what it is in your shell.
3) Update your /etc/group file. You should not see group names like mkgroup-l-d 
and mkgroup

Pierre 


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



Problem with Cron and Permissions...

2008-11-25 Thread Jim Kogler
I recently upgraded cygwin (current version info at end of email) from a 
fairly old version ( at least 3 years old...) and have run into this 
problem:


I have a cron job, that runs a scrip on a SAMBA mount. The script writes 
to the SAMBA mount, here is a bit of the script:


-- Script Cut Start -
echo "one"
  echo `date` > $lockFile
echo "two"
  echo `date` > $lockFile
echo "three"
  echo `id`
-- Script Cut End -

where $lockFile is in the same directory as the script.

The output when run from a Cron Job is
 START ---
+ echo one
one
date
++ date
+ echo Tue Nov 25 16:31:02 EST 2008
/engineering/nightly/scripts/runPendingFastBuilds.sh: line 101: 
/engineering/nightly/locks/fastBuildSweep.lock.nwin32-vc8-2: Permission 
denied

+ echo two
two
date
++ date
+ echo Tue Nov 25 16:31:02 EST 2008
+ echo three
three
id
++ id
+ echo 'uid=30147(nightbus)' 'gid=100(mkgroup)' 
'groups=0(root),544(Administrators),545(Users),10545(mkgroup-l-d),100(mkgroup)'
uid=30147(nightbus) gid=100(mkgroup) 
groups=0(root),544(Administrators),545(Users),10545(mkgroup-l-d),100(mkgroup)

-- End -

Please note the permissions problem for the first attempt to write to 
this file. Thats the problem.


It appears the first attempt to write to a file using "echo "foo" > " 
will generate this error and create an empty (size 0) file. The second 
write will succeed.


This ONLY happens when the script is run from a crontab.

Further, other commands WILL operate on the file the first time: touch 
appears to work. So if my script were


touch $logfile
echo `date` > $logfile

there would be no problem. Obviously its a very big script, so I am only 
sending the problem part. Needless to say a whole lot of our build 
system is failing because of this. It seems the mount is correct, since 
the script itself is in the same directory we are trying to write to. I 
can read files in there, just can't write to them on the first attempt.


Is there more information I can provide? Is this a know issue? Am I 
doing something wrong?


Here is my system information:

bash-3.2$ echo $BASH_VERSION
3.2.39(20)-release

The output from cygcheck -s -v -r is attached in a text file.

Jim



Cygwin Configuration Diagnostics
Current System Time: Tue Nov 25 16:38:18 2008

Windows XP Professional Ver 5.1 Build 2600 Service Pack 3

Running in Terminal Service session

Path:   C:\cygwin\bin
c:\Program Files\Microsoft SQL Server\90\Tools\bin\
c:\Program Files\Microsoft Visual Studio 8\Common7\IDE
c:\Program Files\Microsoft SQL Server\90\Tools\binn\
c:\Program Files\Microsoft Visual Studio 8\Common7\IDE
c:\windows\system32
c:\windows
c:\windows\System32\Wbem
c:\Program Files\gInstall\Ghost Installer\Bin
c:\Program Files\Inno Setup 5
e:\3rdParty\makSpeedTree-1.0-vc8\Cg\2.0\bin
c:\Program Files\Xoreax\IncrediBuild
c:\Program Files\Subversion\bin
c:\MAK\makRti3.3.1\bin
c:\Program Files\gInstall\Ghost Installer\Bin
c:\Program Files\CMake 2.4\bin
c:\bin
C:\cygwin\lib
C:\cygwin\lib
C
c:\MAK\makRti3.3.1\lib
c:\Program Files\WinZip
.
.
c:\bin
C:\cygwin\lib
C:\cygwin\lib
C
c:\MAK\makRti3.3.1\lib
c:\Program Files\WinZip
.
.
E
c:\3rdParty\vrlink\libxml2-2.6.22lib
E
c:\3rdParty\vrlink\iconv-1.8lib
E
c:\3rdParty\makRti3.2lib
E
c:\3rdParty\makRti3.2bin
c:\Python25
F
c:\nightly\vrlink.tot.nwin32-vc8-2lib

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 30147(nightbus) GID: 100(Users)
0(root)  544(Administrators)  545(Users)
10545(mkgroup-l-d)   100(Users)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 30147(nightbus) GID: 100(Users)
0(root)  544(Administrators)  545(Users)
10545(mkgroup-l-d)   100(Users)

SysDir: C:\windows\system32
WinDir: C:\windows

PWD = '/cygdrive/c'
HOME = '/cygdrive/c/Documents and Settings/nightbus'

TAG = 'tot'
HOMEPATH = '\Documents and Settings\nightbus'
APPDATA = 'C:\Documents and Settings\nightbus\Application Data'
unix_MAK_RTIDIR = '/cygdrive/e/3rdParty/makRti3.2'
TERM = 'xterm'
PROCESSOR_IDENTIFIER = 'x86 Family 15 Model 2 Stepping 5, GenuineIntel'
WINDIR = 'C:\windows'
VS80COMNTOOLS = 'C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\'
MAK_RTIDIR = 'E:\3rdParty\makRti3.2'
unix_MAK_XMLDIR = '/cygdrive/e/3rdParty/vrlink/libxml2-2.6.22'
PYTHON_DIR = '/cygdrive/c/Python25'
CVSROOT = ':pserver:[EMAIL PROTECTED]:/home/MAK-Sources'
TENA_VERSION = '5.2.2'
BUILD_BASE_DIR_DOS = 'F:\nightly\vrlink.tot.nwin32-vc8-2'
WINDOWID = '6881424'
QTDIR = 'E:\3rdParty\qt\4.3.3'
OLDPWD = '/tmp'
unix_MAK_ICONVDIR = '/cygdrive/e/3rdParty/vrlink/iconv-1.8'
USERDOMAIN = 'MAK'
OS = 'Windows_NT'
ALLUS

RE: Cron problem with cron popup windows

2008-01-23 Thread Dave Korn
On 23 January 2008 13:00, cygwin.20.maillinglist wrote:

> Hi folk,
> 
> I have the problem that I get cron popup windows. I change the cron
> service, so that he can interact with the desktop. This was necessary to
> start excel from cron. First everything was ok. But after I rebooted the
> PC now cron startet to open a window always when a cron job started. How
> can I get rid of this behaviour.

  Redirect stdout and stderr to /dev/null in your commandline in the crontab
(i.e. append ">/dev/null 2>/dev/null")?

cheers,
  DaveK
-- 
Can't think of a witty .sigline today


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



Cron problem with cron popup windows

2008-01-23 Thread cygwin . 20 . maillinglist
Hi folk,

I have the problem that I get cron popup windows. I change the cron
service, so that he can interact with the desktop. This was necessary to
start excel from cron. First everything was ok. But after I rebooted the
PC now cron startet to open a window always when a cron job started. How
can I get rid of this behaviour. 

Thank for any help 

 Franz

IMPORTANT
I will read replies only from the mailing list. 
If you send me email directly it will be deleted.





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



Re: 1.5.19: Problem with cron and microsoft devenv

2006-05-23 Thread Larry Hall (Cygwin)

Top-post reformatted.


On 5/23/06, Larry Hall (Cygwin)  cygwin  com> 
wrote:


 - thanks.


Nick Forte wrote:
> I'm currently having a problem where microsoft's devenv compiler
> crashes when running under cron.  If I run my build scripts directly
> from a bash shell devenv works great.
>
> I've installed VC2005.NET and cygwin under Administrator.  I then
> created a crontab entry like so:
> HOME=/Home/Administrator
> SHELL=/usr/bin/bash
>
> 00 * * * * $HOME/trees/trunk/scripts/master_control.sh
>
>
> In master_control.sh I call a perl script that does some svn and
> configuration management but ultimately run the following commands:
> 'devenv.com myproject.sln /clean Release'
> 'devenv.com myproject.sln /build Release'
>
> The first command works great.  It cleans the project and deletes all
> the *.obj etc files.  When it runs the second command I get the
> following:
> Application popup: Microsoft Visual C++ Runtime Library : Runtime 
Error!

> Program: ...\Common7\IDE\devenv.exe
> This application has requested the Runtime to terminate it in an
> unusual way.  Please contact the application's support team for more
> information.
>
> At first I thought there was a permissions issue or something of that
> nature except the first '/clean' command is deleting files and exits
> gracefully.  As I stated before, the scripts work fine when I run them
> in a bash shell.  What's different about running under cron vs.
> running in a bash shell that could be different?
>

Environment for one.  You should check to make sure you have all of the
environment variables that you need when running under cron.  I also
recall others having problems running devenv if the user running it is
not authenticated through Windows (i.e. password).  You can see if this
is the cause of your problem by running the cron service as your user.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746


Nick Forte wrote:
Thanks!  That worked.

I tried uninstalling the cron service and reinstalling with the '-u'
(user) option.  At that point I couldn't start the service.  It kept
giving me login error messages.  I then went through cron_diagnose.sh
but that didn't seem to point out anything obvious.  Finally, instead
of running cyrunsrv --install cron  I ran /usr/bin/cron-config.
When asked if I want to cron under the current user I said 'yes'.
After that cron + devenv worked fine.

Another question I have is about cron and environment variables.  When
I run a shell, even cmd /c, under cron the environment variable
APPDATA doesn't get set.  This seems odd to me.  I believe APPDATA
gets set from shell32 which should be loaded when cron runs 'cmd /c
somescript.bat'.

I am also curious as to why previously calling devenv to clean the
project didn't crash where devenv /build did.  I tried running some
tools like filemon etc... during the cron process and i never saw
anything weird due to permissions.  Ultimately, I'm happy that running
cron under the user is working.



Obviously you need more environment to build than to clean.  In particular,
there's no need for $INCLUDE to clean, though CL will look for it as part
of a build.  There may be other implicit dependencies as well.  Actually,
I'll bet there are. ;-)  In any case, if the issue is strictly environmental,
you can certainly check the difference in your environment vs the one that
it had trouble running in.  The result of that would be your candidate
problem set.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746

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



RE: 1.5.19: Problem with cron and microsoft devenv

2006-05-23 Thread Harig, Mark
 
> 
> The simple crontab below will show you what environment variables cron
> knows about.
> 
> * * * * * /usr/bin/env
> 

Correction: that crontab entry should have read:

* * * * * /usr/bin/env > /tmp/env.txt

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



RE: 1.5.19: Problem with cron and microsoft devenv

2006-05-23 Thread Harig, Mark
> 
> Another question I have is about cron and environment variables.  When
> I run a shell, even cmd /c, under cron the environment variable
> APPDATA doesn't get set.  This seems odd to me.  I believe APPDATA
> gets set from shell32 which should be loaded when cron runs 'cmd /c
> somescript.bat'.
> 

The simple crontab below will show you what environment variables cron
knows about.

* * * * * /usr/bin/env

Also, 'man 5 crontab' describes cron's handling of environment
variables.

--- 

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



Re: 1.5.19: Problem with cron and microsoft devenv

2006-05-23 Thread Nick Forte

Thanks!  That worked.

I tried uninstalling the cron service and reinstalling with the '-u'
(user) option.  At that point I couldn't start the service.  It kept
giving me login error messages.  I then went through cron_diagnose.sh
but that didn't seem to point out anything obvious.  Finally, instead
of running cyrunsrv --install cron  I ran /usr/bin/cron-config.
When asked if I want to cron under the current user I said 'yes'.
After that cron + devenv worked fine.

Another question I have is about cron and environment variables.  When
I run a shell, even cmd /c, under cron the environment variable
APPDATA doesn't get set.  This seems odd to me.  I believe APPDATA
gets set from shell32 which should be loaded when cron runs 'cmd /c
somescript.bat'.

I am also curious as to why previously calling devenv to clean the
project didn't crash where devenv /build did.  I tried running some
tools like filemon etc... during the cron process and i never saw
anything weird due to permissions.  Ultimately, I'm happy that running
cron under the user is working.


On 5/23/06, Larry Hall (Cygwin) <[EMAIL PROTECTED]> wrote:

Nick Forte wrote:
> I'm currently having a problem where microsoft's devenv compiler
> crashes when running under cron.  If I run my build scripts directly
> from a bash shell devenv works great.
>
> I've installed VC2005.NET and cygwin under Administrator.  I then
> created a crontab entry like so:
> HOME=/Home/Administrator
> SHELL=/usr/bin/bash
>
> 00 * * * * $HOME/trees/trunk/scripts/master_control.sh
>
>
> In master_control.sh I call a perl script that does some svn and
> configuration management but ultimately run the following commands:
> 'devenv.com myproject.sln /clean Release'
> 'devenv.com myproject.sln /build Release'
>
> The first command works great.  It cleans the project and deletes all
> the *.obj etc files.  When it runs the second command I get the
> following:
> Application popup: Microsoft Visual C++ Runtime Library : Runtime Error!
> Program: ...\Common7\IDE\devenv.exe
> This application has requested the Runtime to terminate it in an
> unusual way.  Please contact the application's support team for more
> information.
>
> At first I thought there was a permissions issue or something of that
> nature except the first '/clean' command is deleting files and exits
> gracefully.  As I stated before, the scripts work fine when I run them
> in a bash shell.  What's different about running under cron vs.
> running in a bash shell that could be different?
>

Environment for one.  You should check to make sure you have all of the
environment variables that you need when running under cron.  I also
recall others having problems running devenv if the user running it is
not authenticated through Windows (i.e. password).  You can see if this
is the cause of your problem by running the cron service as your user.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746

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




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



Re: 1.5.19: Problem with cron and microsoft devenv

2006-05-23 Thread Larry Hall (Cygwin)

Nick Forte wrote:

I'm currently having a problem where microsoft's devenv compiler
crashes when running under cron.  If I run my build scripts directly
from a bash shell devenv works great.

I've installed VC2005.NET and cygwin under Administrator.  I then
created a crontab entry like so:
HOME=/Home/Administrator
SHELL=/usr/bin/bash

00 * * * * $HOME/trees/trunk/scripts/master_control.sh


In master_control.sh I call a perl script that does some svn and
configuration management but ultimately run the following commands:
'devenv.com myproject.sln /clean Release'
'devenv.com myproject.sln /build Release'

The first command works great.  It cleans the project and deletes all
the *.obj etc files.  When it runs the second command I get the
following:
Application popup: Microsoft Visual C++ Runtime Library : Runtime Error!
Program: ...\Common7\IDE\devenv.exe
This application has requested the Runtime to terminate it in an
unusual way.  Please contact the application's support team for more
information.

At first I thought there was a permissions issue or something of that
nature except the first '/clean' command is deleting files and exits
gracefully.  As I stated before, the scripts work fine when I run them
in a bash shell.  What's different about running under cron vs.
running in a bash shell that could be different?



Environment for one.  You should check to make sure you have all of the
environment variables that you need when running under cron.  I also
recall others having problems running devenv if the user running it is
not authenticated through Windows (i.e. password).  You can see if this
is the cause of your problem by running the cron service as your user.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746

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



Re: problem with cron

2006-01-12 Thread Holger Krull

Mike Stathopoulos schrieb:

I having problems running the cron on my system.  Can you help?


USER = `mike.stathopoulos' 



cygrunsrv --start cron
cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
The service has not been started.


Maybe the user is not Administrator and not in the Administrators Group, and 
therefore has not the necessary privileges to start a service.



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



Oops. I forgot the cygcheck output. Here it is: cygwin Configuration Diagnostics\nCurrent System Time: Wed Jun 23 14:15:29 2004\nWindows XP Professional Ver 5.1 Build 2600 Service Pack 1\n(was Re: LOL. Here we go again... (was Re: I'm having a problem with cron -- can anyone help? It doesn't recognize my remote shares !!!! (was Re: Ok folks, move along, nothing to see here. (was Re: Ok, sorry. (was Re: Can we stop this now? It's getting very confusing! (Was RE: yes -- netstat (was Re: is there any command to see all the current tcp socket?))))))

2004-06-23 Thread Ed C. Lueless
On Wed, Jun 23, 2004 at 11:43:09AM -0400, Igor Pechtchanski wrote:
>On Wed, 23 Jun 2004, Ed C. Lueless wrote:
>
>> On Wed, Jun 23, 2004 at 05:05:05PM +0200, Corinna Vinschen wrote:
>> >On Jun 23 10:36, Christopher Faylor wrote:
>> >> On Wed, Jun 23, 2004 at 10:54:59AM +0100, Dave Korn wrote:
>> >> >> -Original Message-
>> >> >> From: cygwin-owner On Behalf Of Christopher Faylor
>> >> >> Sent: 23 June 2004 00:36
>> >> >>
>> >> >> On Tue, Jun 22, 2004 at 07:33:13PM -0400, news.gosonic.com wrote:
>-- 
>   http://cs.nyu.edu/~pechtcha/
>  |\  _,,,---,,_   [EMAIL PROTECTED]
>ZZZzz /,`.-'`'-.  ;-;;,_   [EMAIL PROTECTED]
> |,4-  ) )-,_. ,\ (  `'-'  Igor Pechtchanski, Ph.D.
>'---''(_/--'  `-'\_) fLa.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
>
>"I have since come to realize that being between your mentor and his route
>to the bathroom is a major career booster."  -- Patrick Naughton
>
>--
>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/
>

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



LOL. Here we go again... (was Re: I'm having a problem with cron -- can anyone help? It doesn't recognize my remote shares !!!! (was Re: Ok folks, move along, nothing to see here. (was Re: Ok, sorry. (was Re: Can we stop this now? It's getting very confusing! (Was RE: yes -- netstat (was Re: is there any command to see all the current tcp socket?))))))

2004-06-23 Thread Igor Pechtchanski
On Wed, 23 Jun 2004, Ed C. Lueless wrote:

> On Wed, Jun 23, 2004 at 05:05:05PM +0200, Corinna Vinschen wrote:
> >On Jun 23 10:36, Christopher Faylor wrote:
> >> On Wed, Jun 23, 2004 at 10:54:59AM +0100, Dave Korn wrote:
> >> >> -Original Message-
> >> >> From: cygwin-owner On Behalf Of Christopher Faylor
> >> >> Sent: 23 June 2004 00:36
> >> >>
> >> >> On Tue, Jun 22, 2004 at 07:33:13PM -0400, news.gosonic.com wrote:
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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



I'm having a problem with cron -- can anyone help? It doesn't recognize my remote shares !!!! (was Re: Ok folks, move along, nothing to see here. (was Re: Ok, sorry. (was Re: Can we stop this now? It's getting very confusing! (Was RE: yes -- netstat (was Re: is there any command to see all the current tcp socket?)))))

2004-06-23 Thread Ed C. Lueless
On Wed, Jun 23, 2004 at 05:05:05PM +0200, Corinna Vinschen wrote:
>On Jun 23 10:36, Christopher Faylor wrote:
>> On Wed, Jun 23, 2004 at 10:54:59AM +0100, Dave Korn wrote:
>> >> -Original Message-
>> >> From: cygwin-owner On Behalf Of Christopher Faylor
>> >> Sent: 23 June 2004 00:36
>> >>
>> >> On Tue, Jun 22, 2004 at 07:33:13PM -0400, news.gosonic.com wrote:
>> >> >
>> >>
>> >
>
>-- 
>Corinna Vinschen  Please, send mails regarding Cygwin to
>Cygwin Co-Project Leader  mailto:[EMAIL PROTECTED]
>Red Hat, Inc.
>
>--
>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/
>

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



RE: Problem with cron!

2003-08-14 Thread cygwin

...> From: Igor Pechtchanski  
...> Date: Sun, 10 Aug 2003 14:17:50 -0400 (EDT) 
...> Subject: RE: Problem with cron! 
...>
...>


...> 
...> On Sun, 10 Aug 2003 [EMAIL PROTECTED] wrote:
...> 
...> > Salutations!
...> > I get the identical symptoms on WIN98SE.
...> > [snip]
...> > [It must be mentioned that I do not have cron
...> > installed as a service, but start it by hand
...> > in a bash after each reboot. I have not been
...> > able to get any of the procedures I have found
...> > to install cron as a service to do the job.]
...> 
...> Services only work on NT-based versions of Windows, e.g., WinNT,
Win2k, or
...> WinXP.  There is no concept of services on Win9x.  
   I figured as much, but it has not been significant
   enough for me to research. It suffices me to start 
   cron from a bash which runs while the machine is up.

...> > Last week I downloaded and updated my installed
...> > configuration with the latest. From this point
...> > in time, cron has refused to work - by this I
...> > mean that all crontab functions appear to function
...> > as usual, the cron task appears in ps and Mark
...> > Harig's cron_diagnose.sh script does not indicate
...> > any errors. However my tasks are still not run.
...> 
...> What manner of tests did you use to find out whether cron works?
Did you
...> try the cron equivalent of "hello world" (i.e., "/usr/bin/date >>
...> /tmp/date.log")?
   That's the one. 

...> > I have been able to circumvent my difficulty
...> > by overwriting cron.exe from cron-3.0.1-10.tar.bz2
...> > with cron.exe from cron-3.0.1-8.tar.bz2, so I'm
...> > satisfied for the moment, but thought someone
...> > might want to know about the difference.
...> 
...> There are only 2 minor Cygwin-specific releases between those two,
which
...> basically means that you can download the source tarballs and do a
simple
...> diff.  If you're willing to do some more investigative work and try
to
...> find the culprit, this would help the maintainer of cron immensely.
   Am willing but off on holiday today. I'll have
   a look when I get back.

Thanks for the response. If there is a more appropriate 
forum for further discussion on investigative details, 
feel free to point me in that direction.


James


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



RE: Problem with cron!

2003-08-14 Thread Igor Pechtchanski
On Mon, 11 Aug 2003 cygwin at harrier dot ch wrote:

> ...> From: Igor Pechtchanski 
> ...> Date: Sun, 10 Aug 2003 14:17:50 -0400 (EDT)
> ...> Subject: RE: Problem with cron!
> ...>
> ...> 
> ...>
> ...> On Sun, 10 Aug 2003 [EMAIL PROTECTED] wrote:
> ...>
> ...> > Salutations!
> ...> > I get the identical symptoms on WIN98SE.
> ...> > [snip]
> ...> > [It must be mentioned that I do not have cron
> ...> > installed as a service, but start it by hand
> ...> > in a bash after each reboot. I have not been
> ...> > able to get any of the procedures I have found
> ...> > to install cron as a service to do the job.]
> ...>
> ...> Services only work on NT-based versions of Windows, e.g., WinNT, Win2k, or
> ...> WinXP.  There is no concept of services on Win9x.
>I figured as much, but it has not been significant
>enough for me to research. It suffices me to start
>cron from a bash which runs while the machine is up.
>
> ...> > Last week I downloaded and updated my installed
> ...> > configuration with the latest. From this point
> ...> > in time, cron has refused to work - by this I
> ...> > mean that all crontab functions appear to function
> ...> > as usual, the cron task appears in ps and Mark
> ...> > Harig's cron_diagnose.sh script does not indicate
> ...> > any errors. However my tasks are still not run.
> ...>
> ...> What manner of tests did you use to find out whether cron works? Did you
> ...> try the cron equivalent of "hello world" (i.e., "/usr/bin/date >>
> ...> /tmp/date.log")?
>That's the one.
>
> ...> > I have been able to circumvent my difficulty
> ...> > by overwriting cron.exe from cron-3.0.1-10.tar.bz2
> ...> > with cron.exe from cron-3.0.1-8.tar.bz2, so I'm
> ...> > satisfied for the moment, but thought someone
> ...> > might want to know about the difference.
> ...>
> ...> There are only 2 minor Cygwin-specific releases between those two, which
> ...> basically means that you can download the source tarballs and do a simple
> ...> diff.  If you're willing to do some more investigative work and try to
> ...> find the culprit, this would help the maintainer of cron immensely.
>Am willing but off on holiday today. I'll have
>a look when I get back.
>
> Thanks for the response. If there is a more appropriate
> forum for further discussion on investigative details,
> feel free to point me in that direction.
>
> James

This is the right list.  BTW, I've just compared cron-3.0.1-9 and
cron-3.0.1-10, and the only difference was that the stdin and stdout
streams were redirected from/to /dev/null.  You might try to use the
executable from cron-3.0.1-9, just to minimize the search space.  If it
works, you know the latest change was the culprit.  If it doesn't, the
culprit is in something that changed between -8 and -9.  FWIW, the changes
between the versions were listed in the announcement messages:
<http://cygwin.com/ml/cygwin/2003-04/msg01440.html> and
<http://cygwin.com/ml/cygwin/2003-06/msg00562.html>
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton


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



Re: Problem with cron!

2003-08-14 Thread Corinna Vinschen
On Mon, Aug 11, 2003 at 11:20:25AM -0400, Igor Pechtchanski wrote:
> On Mon, 11 Aug 2003 cygwin at harrier dot ch wrote:
>
> [unnecessary full quote deleted, gr]
>
>  I've just compared cron-3.0.1-9 and
> cron-3.0.1-10, and the only difference was that the stdin and stdout
> streams were redirected from/to /dev/null.  You might try to use the
> executable from cron-3.0.1-9, just to minimize the search space.  If it
> works, you know the latest change was the culprit.  If it doesn't, the
> culprit is in something that changed between -8 and -9.  FWIW, the changes

-9 introduced a change explicitely for 9x which results in the full
environment not being propagated to child processes.  The discussion
should be in the cygwin ML archive.

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.

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



RE: Problem with cron!

2003-08-10 Thread cygwin

Salutations!


I get the identical symptoms on WIN98SE.

Last week I downloaded and updated my installed
configuration with the latest. From this point
in time, cron has refused to work - by this I
mean that all crontab functions appear to function
as usual, the cron task appears in ps and Mark
Harig's cron_diagnose.sh script does not indicate
any errors. However my tasks are still not run.

[It must be mentioned that I do not have cron
installed as a service, but start it by hand
in a bash after each reboot. I have not been
able to get any of the procedures I have found
to install cron as a service to do the job.]

I have been able to circumvent my difficulty
by overwriting cron.exe from cron-3.0.1-10.tar.bz2
with cron.exe from cron-3.0.1-8.tar.bz2, so I'm
satisfied for the moment, but thought someone
might want to know about the difference.


James



...> RE: Problem with cron!
...> From: "Harig, Mark" 
...> To: ,
...> Date: Fri, 20 Jun 2003 16:14:56 -0400
...> Subject: RE: Problem with cron!
...>
...> Please run the attached script.
...>
...> It will attempt to diagnose your problem
...> with cron.
...>
...> It will not modify any files on your computer.
...>
...> You might need to run the script several times.
...>
...> Each time that it finds a problem, it stops and
...> displays a descriptive message.
...>
 > -Original Message-
 > From: Tim [mailto:[EMAIL PROTECTED]
 > Sent: Friday, June 20, 2003 10:35 AM
 > To: [EMAIL PROTECTED]
 > Subject: Problem with cron!
 >
 >
 > hi,
 >
 > i'm having a bit of truble with cron.
 > i have just installed a fresh cygwin on a win2k box.
 > first i create the following crontab
 > --cut--
 > # DO NOT EDIT THIS FILE - edit the master and reinstall.
 > # (/tmp/crontab.1244 installed on Fri Jun 20 16:27:11 2003)
 > # (Cron version -- $Id: crontab.c,v 1.7 2003/04/15 15:13:41
 > corinna Exp $)
 > 0 0 * * * Tim echo "hello"
 > --cut--
 >
 > then run cron (/usr/sbin/cron)
 >
 > if i do a ps i get the following:
 >
 >   PIDPPIDPGID WINPID  TTY  UIDSTIME COMMAND
 >   464   1 464464  con 1002 16:23:32 /usr/bin/bash
 >   244   1 244244? 1002 16:27:25 /usr/sbin/cron
 >  1188 4641188   1512  con 1002 16:33:39 /usr/bin/ps
 >
 > but nothing else seems to happen!
 >
 > i know this is a really stupid question for this list, but i
 > realy have no idea what to do.
 >
 > Thanks for taking the time to read this and have a nice day
 >
 > Tim


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



RE: Problem with cron!

2003-08-10 Thread Igor Pechtchanski
On Sun, 10 Aug 2003 [EMAIL PROTECTED] wrote:

> Salutations!
> I get the identical symptoms on WIN98SE.
> [snip]
> [It must be mentioned that I do not have cron
> installed as a service, but start it by hand
> in a bash after each reboot. I have not been
> able to get any of the procedures I have found
> to install cron as a service to do the job.]

Services only work on NT-based versions of Windows, e.g., WinNT, Win2k, or
WinXP.  There is no concept of services on Win9x.  There might be a
cygrunsrv implementation for Win9x in the future, but not soon.

> Last week I downloaded and updated my installed
> configuration with the latest. From this point
> in time, cron has refused to work - by this I
> mean that all crontab functions appear to function
> as usual, the cron task appears in ps and Mark
> Harig's cron_diagnose.sh script does not indicate
> any errors. However my tasks are still not run.

What manner of tests did you use to find out whether cron works?  Did you
try the cron equivalent of "hello world" (i.e., "/usr/bin/date >>
/tmp/date.log")?

> I have been able to circumvent my difficulty
> by overwriting cron.exe from cron-3.0.1-10.tar.bz2
> with cron.exe from cron-3.0.1-8.tar.bz2, so I'm
> satisfied for the moment, but thought someone
> might want to know about the difference.

There are only 2 minor Cygwin-specific releases between those two, which
basically means that you can download the source tarballs and do a simple
diff.  If you're willing to do some more investigative work and try to
find the culprit, this would help the maintainer of cron immensely.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton


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



RE: Problem with cron!

2003-06-20 Thread Harig, Mark
Please run the attached script.

It will attempt to diagnose your problem
with cron.

It will not modify any files on your computer.

You might need to run the script several times.

Each time that it finds a problem, it stops and
displays a descriptive message.

> -Original Message-
> From: Tim [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 20, 2003 10:35 AM
> To: [EMAIL PROTECTED]
> Subject: Problem with cron!
> 
> 
> hi,
> 
> i'm having a bit of truble with cron.
> i have just installed a fresh cygwin on a win2k box.
> first i create the following crontab
> --cut--
> # DO NOT EDIT THIS FILE - edit the master and reinstall.
> # (/tmp/crontab.1244 installed on Fri Jun 20 16:27:11 2003)
> # (Cron version -- $Id: crontab.c,v 1.7 2003/04/15 15:13:41 
> corinna Exp $)
> 0 0 * * * Tim echo "hello" 
> --cut--
> 
> then run cron (/usr/sbin/cron)
> 
> if i do a ps i get the following:
> 
>   PIDPPIDPGID WINPID  TTY  UIDSTIME COMMAND
>   464   1 464464  con 1002 16:23:32 /usr/bin/bash
>   244   1 244244? 1002 16:27:25 /usr/sbin/cron
>  1188 4641188   1512  con 1002 16:33:39 /usr/bin/ps
> 
> but nothing else seems to happen!
> 
> i know this is a realy stupid question for this list, but i 
> realy have no idea what to do. 
> 
> Thanks for taking the time to read this and have a nice day
> 
> Tim
> 
> --
> 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/
> 
> 


cron_diagnose.sh
Description: cron_diagnose.sh
--
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/

RE: Problem with cron!

2003-06-20 Thread Igor Pechtchanski
Tim,

This (loosely) translates as

Unable to find the description for event ID ( 0 ) in source (crontab).  Perhaps
the local computer doesn't have the necessary information in the registry, or
the message DLL files for printing messages from a remote computer.
crontab : PID 1244 : (tim) END EDIT (tim).

This message is an syslog message from crontab saying that you've finished
editing the crontab file.  I doubt it has anything to do with your
particular problem.  For an explanation of why if can't find the event
description, see <http://cygwin.com/ml/cygwin/2003-03/msg01087.html>.

Did you try looking in /var/log/cron.log?
Igor

On Fri, 20 Jun 2003, Tim wrote:

> i just checked the windows journal and i found many of the folowing
> entries:
>
> Impossible de trouver la description de l'ID d'événement ( 0 ) dans la source ( 
> crontab ). L'ordinateur local n'a peut-être pas les
> informations de Registre nécessaires ou les fichiers DLL de messagerie pour afficher 
> les messages provenant d'un ordinateur distant
> crontab : PID 1244 : (tim) END EDIT (tim).
>
> and i don't even know how to loosly translate it.
>
> i'm sorry to be a bother with this.
>
> Thanks for your time
> Tim
> > -Message d'origine-
> > De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Tim
> > Envoyé : vendredi 20 juin 2003 16:40
> > À : [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > Objet : RE: Problem with cron!
> >
> >
> > Just mention that i had previously changed my system time to 23:59
> > :)
> >
> > Thanks
> > Tim
> >
> > > -----Message d'origine-
> > > De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Tim
> > > Envoyé : vendredi 20 juin 2003 16:35
> > > À : [EMAIL PROTECTED]
> > > Objet : Problem with cron!
> > >
> > >
> > > hi,
> > >
> > > i'm having a bit of truble with cron.
> > > i have just installed a fresh cygwin on a win2k box.
> > > first i create the following crontab
> > > --cut--
> > > # DO NOT EDIT THIS FILE - edit the master and reinstall.
> > > # (/tmp/crontab.1244 installed on Fri Jun 20 16:27:11 2003)
> > > # (Cron version -- $Id: crontab.c,v 1.7 2003/04/15 15:13:41 corinna Exp $)
> > > 0 0 * * * Tim echo "hello"
> > > --cut--
> > >
> > > then run cron (/usr/sbin/cron)
> > >
> > > if i do a ps i get the following:
> > >
> > >   PIDPPIDPGID WINPID  TTY  UIDSTIME COMMAND
> > >   464   1 464464  con 1002 16:23:32 /usr/bin/bash
> > >   244   1 244244? 1002 16:27:25 /usr/sbin/cron
> > >  1188 4641188   1512  con 1002 16:33:39 /usr/bin/ps
> > >
> > > but nothing else seems to happen!
> > >
> > > i know this is a realy stupid question for this list, but i realy
> > > have no idea what to do.
> > >
> > > Thanks for taking the time to read this and have a nice day
> > > Tim

-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton


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



RE: Problem with cron!

2003-06-20 Thread Tim
i just checked the windows journal and i found many of the folowing entries:

Impossible de trouver la description de l'ID d'événement ( 0 ) dans la source ( 
crontab ). L'ordinateur local n'a peut-être pas les
informations de Registre nécessaires ou les fichiers DLL de messagerie pour afficher 
les messages provenant d'un ordinateur distant
crontab : PID 1244 : (tim) END EDIT (tim).

and i don't even know how to loosly translate it.

i'm sorry to be a bother with this.

Thanks for your time
Tim
> -Message d'origine-
> De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part
> de Tim
> Envoyé : vendredi 20 juin 2003 16:40
> À : [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Objet : RE: Problem with cron!
>
>
> Just mention that i had previously changed my system time to 23:59
> :)
>
> Thanks
> Tim
>
> > -Message d'origine-
> > De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part
> > de Tim
> > Envoyé : vendredi 20 juin 2003 16:35
> > À : [EMAIL PROTECTED]
> > Objet : Problem with cron!
> >
> >
> > hi,
> >
> > i'm having a bit of truble with cron.
> > i have just installed a fresh cygwin on a win2k box.
> > first i create the following crontab
> > --cut--
> > # DO NOT EDIT THIS FILE - edit the master and reinstall.
> > # (/tmp/crontab.1244 installed on Fri Jun 20 16:27:11 2003)
> > # (Cron version -- $Id: crontab.c,v 1.7 2003/04/15 15:13:41 corinna Exp $)
> > 0 0 * * * Tim echo "hello"
> > --cut--
> >
> > then run cron (/usr/sbin/cron)
> >
> > if i do a ps i get the following:
> >
> >   PIDPPIDPGID WINPID  TTY  UIDSTIME COMMAND
> >   464   1 464464  con 1002 16:23:32 /usr/bin/bash
> >   244   1 244244? 1002 16:27:25 /usr/sbin/cron
> >  1188 4641188   1512  con 1002 16:33:39 /usr/bin/ps
> >
> > but nothing else seems to happen!
> >
> > i know this is a realy stupid question for this list, but i realy have no idea 
> > what to do.
> >
> > Thanks for taking the time to read this and have a nice day
> >
> > Tim
> >
> > --
> > 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/
> >
>
>
> --
> 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/
>


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



RE: Problem with cron!

2003-06-20 Thread Tim
Just mention that i had previously changed my system time to 23:59
:)

Thanks
Tim

> -Message d'origine-
> De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part
> de Tim
> Envoyé : vendredi 20 juin 2003 16:35
> À : [EMAIL PROTECTED]
> Objet : Problem with cron!
>
>
> hi,
>
> i'm having a bit of truble with cron.
> i have just installed a fresh cygwin on a win2k box.
> first i create the following crontab
> --cut--
> # DO NOT EDIT THIS FILE - edit the master and reinstall.
> # (/tmp/crontab.1244 installed on Fri Jun 20 16:27:11 2003)
> # (Cron version -- $Id: crontab.c,v 1.7 2003/04/15 15:13:41 corinna Exp $)
> 0 0 * * * Tim echo "hello"
> --cut--
>
> then run cron (/usr/sbin/cron)
>
> if i do a ps i get the following:
>
>   PIDPPIDPGID WINPID  TTY  UIDSTIME COMMAND
>   464   1 464464  con 1002 16:23:32 /usr/bin/bash
>   244   1 244244? 1002 16:27:25 /usr/sbin/cron
>  1188 4641188   1512  con 1002 16:33:39 /usr/bin/ps
>
> but nothing else seems to happen!
>
> i know this is a realy stupid question for this list, but i realy have no idea what 
> to do.
>
> Thanks for taking the time to read this and have a nice day
>
> Tim
>
> --
> 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/
>


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



Problem with cron!

2003-06-20 Thread Tim
hi,

i'm having a bit of truble with cron.
i have just installed a fresh cygwin on a win2k box.
first i create the following crontab
--cut--
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.1244 installed on Fri Jun 20 16:27:11 2003)
# (Cron version -- $Id: crontab.c,v 1.7 2003/04/15 15:13:41 corinna Exp $)
0 0 * * * Tim echo "hello" 
--cut--

then run cron (/usr/sbin/cron)

if i do a ps i get the following:

  PIDPPIDPGID WINPID  TTY  UIDSTIME COMMAND
  464   1 464464  con 1002 16:23:32 /usr/bin/bash
  244   1 244244? 1002 16:27:25 /usr/sbin/cron
 1188 4641188   1512  con 1002 16:33:39 /usr/bin/ps

but nothing else seems to happen!

i know this is a realy stupid question for this list, but i realy have no idea what to 
do. 

Thanks for taking the time to read this and have a nice day

Tim

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