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 s

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

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 com

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

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

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 S

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

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

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:

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

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

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

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 an

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

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 Chr

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

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

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

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 redire

RE: Problem with cron!

2003-08-10 Thread cygwin
on 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: Prob

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 f

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 Mess

RE: Problem with cron!

2003-06-20 Thread Igor Pechtchanski
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 PROT

RE: Problem with cron!

2003-06-20 Thread Tim
ED] [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 > >

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

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 2