public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Harig, Mark" <maharig@idirect.net>
To: "Hank Statscewich" <stats@ims.uaf.edu>, <cygwin@cygwin.com>
Subject: RE: CRON problems
Date: Thu, 06 May 2004 22:47:00 -0000	[thread overview]
Message-ID: <BADF3C947A1BD54FBA75C70C241B0B9E01459881@ex02.co.idirect.net> (raw)

Please run cron_diagnose.sh version 1.5.
Numerous bugs have been found and fixed.

This version can be found (as an attachment)
on the mailing list at:

http://sources.redhat.com/ml/cygwin/2004-03/msg00379.html

> -----Original Message-----
> From: Hank Statscewich
> Sent: Wednesday, May 05, 2004 8:12 PM
> To: cygwin
> Subject: CRON problems
> 
> 
> Hello,
> 
> I've been doing my best to read all the previous FAQ pages, 
> README documents, 
> and forum posts, but I am still having issues getting my cron 
> jobs to run the 
> way I want them to. If I explicitly start cron by calling 
> /usr/sbin/cron, then 
> my jobs run fine, but my application demands that the 
> computer be rebooted 
> daily and I will not be onsite to issue this comand. I would 
> like cron to start 
> up after reboot automatically and if I understand correctly, this is 
> accomplished by following the instructions in 
> cron_diagnose.sh which describe 
> how to shutdown the cron service, uninstall it, reinstall it 
> and start it. 
> Everything works just fine except for starting the service, 
> when I run: 
> cygrunsrv -S cron. I get this error message:
> cygrunsrv: Error starting a service: QueryServiceStatus:  
> Win32 error 1062:
> The service has not been started.
> 
> After reading through some more posts I have become 
> thoroughly confused, so I 
> have resorted to asking for help. 
> The output from cron_diagnose.sh is:
> cron_diagnose.sh 1.2
> 
> This script did not find any errors in your crontab setup.
> If you are still unable to get cron to work, then try
> shutting down the cron service, uninstalling it,
> reinstalling it, and restarting it.
> 
> The following commands will do that:
>   $ cygrunsrv --stop cron
>   $ cygrunsrv --remove cron
>   $ cygrunsrv --install cron -p /usr/sbin/cron -a -D
>   $ cygrunsrv --start cron
> 
> If none of this fixes the problem, then report your problem
> to cygwin@cygwin.com.  Please include a copy of your crontab,
> ('crontab -l') and the output of 'cygcheck -srv > cygcheck.txt'.
> 
> PLEASE include the generated files 'cygcheck.txt' *as an attachment*,
> and NOT in the body of the mail message.
> 
> 
> My crontab looks like this:
> # DO NOT EDIT THIS FILE - edit the master and reinstall.
> # (/tmp/crontab.1244 installed on Wed May  5 23:57:19 2004)
> # (Cron version -- $Id: crontab.c,v 1.7 2003/04/15 15:13:41 
> corinna Exp $)
> 53 21 * * * shutdown -r -f now
> 58 * * * * tcsh /home/stats/Trans/programs/hourly_mover.tcsh
> 03 22 * * * tcsh /home/stats/Trans/programs/daily_mover.tcsh 
> 
> Thanks in advance for your help. I have attatched 
> cygcheck.txt as instructed.
> 
> Hank
> 
> -- 

> 
> 
> 
> 

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

             reply	other threads:[~2004-05-06 22:44 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-06 22:47 Harig, Mark [this message]
2004-05-06 23:42 ` Hank Statscewich
2004-05-07  0:14   ` Igor Pechtchanski
2004-05-07  0:52     ` Hank Statscewich
2004-05-07  2:06       ` Brian Dessent
2004-05-07  6:55         ` Andrew DeFaria
2004-05-07  8:21           ` Brian Dessent
2004-05-07 15:06             ` Igor Pechtchanski
2004-05-07 15:23               ` Andrew DeFaria
2004-05-07 15:53                 ` Igor Pechtchanski
2004-05-07 20:08                   ` Andrew DeFaria
2004-05-07 15:20             ` Andrew DeFaria
  -- strict thread matches above, loose matches on Subject: below --
2008-05-14 22:18 cron problems Charles Miller
2008-05-14 22:28 ` Pierre A. Humblet
2007-11-06 15:30 Helge Stenström
2007-11-06 15:56 ` Pierre A. Humblet
2007-05-14 14:45 CRON problems sabbella
2007-05-14 17:39 ` Pierre A. Humblet
2006-07-24 23:29 Cron Problems Andrew King
2006-07-24 23:38 ` René Berber
2004-05-07 15:17 CRON problems Harig, Mark
2004-05-07 15:15 Harig, Mark
2004-05-07 15:20 ` Igor Pechtchanski
2004-05-07 15:12 Harig, Mark
2004-05-06  0:16 Hank Statscewich
2003-01-23 10:47 Cron Problems Wu Yongwei
2003-01-23 11:01 ` Elfyn McBratney
2003-01-23  6:24 Wu Yongwei
2003-01-23  9:48 ` Elfyn McBratney
2001-10-31  8:51 cron problems Lou Rayman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BADF3C947A1BD54FBA75C70C241B0B9E01459881@ex02.co.idirect.net \
    --to=maharig@idirect.net \
    --cc=cygwin@cygwin.com \
    --cc=stats@ims.uaf.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).