public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Pierre A. Humblet" <Pierre.Humblet@ieee.org>
To: <cygwin@cygwin.com>,	"Alexander Polson" <Alexander.Polson@pbmr.co.za>
Subject: Re: cron
Date: Thu, 13 Sep 2007 05:26:00 -0000	[thread overview]
Message-ID: <01bf01c7f5c6$6164e380$46c11518@wirelessworld.airvananet.com> (raw)
In-Reply-To: <46E7FE86.2090902@cygwin.com>


----- Original Message ----- 
From: "Larry Hall (Cygwin)" <>
To: <cygwin>
Sent: Wednesday, September 12, 2007 10:58 AM
Subject: Re: cron


| Alexander Polson wrote:
| >  <<cronbug.txt>> Hi
| >
| > I have been using cygwin on windows to do daily backups with the rsync
| > utility, and triggering this process using cron.
| >
| > Over the last 2 years I found more and more machines in my department
| > for which I can not get cron to work anymore, and forcing this backup to
| > be done manually. I have tried to fix this by "RTFM", cron_diagnose.sh
| > (no problem found) and cron-config, but I am still missing something.
| >
| > We use Cygwin on Win XP (32 and 64 bit) and Server 2003.
| >
| > I attach the cronbug.txt file.
| >
| > Can you please help?
|
| <snip>
|
| > 2007/09/12 11:20:15 [SYSTEM] /usr/sbin/cron: PID 3088: (CRON) error
| (can't switch user context)
|
| <snip>
|
| > Service             : cron
|
| <snip>
|
| > Account             : PBMR\PolsonA
|
| On W2K3, if you expect a service to be able to switch user contexts, you
| need a special service account.  You can use the 'sshd_server' account that
| would be created for you if you configure 'sshd' and ask it to create the
| account when it asks you.  See the "/usr/share/doc/Cygwin/openssh.README"
| for details.

The above is correct, but later cron was switch to run as PolsonA
2007/09/12 16:19:31 [PolsonA] cron: PID 1432: `cron' service started
2007/09/12 16:19:41 [PolsonA] crontab: PID 2844: (PolsonA) BEGIN EDIT (PolsonA)
2007/09/12 16:19:46 [PolsonA] crontab: PID 2844: (PolsonA) REPLACE (PolsonA)
2007/09/12 16:19:46 [PolsonA] crontab: PID 2844: (PolsonA) END EDIT (PolsonA)
2007/09/12 16:20:01 [PolsonA] /usr/sbin/cron: PID 2564: (PolsonA) RELOAD (tabs/PolsonA)
and everything looks normal (cron reloaded the crontab).
Did you wait long enough for the jobs to run?
Please look at cron.log in the home directory of  PolsonA, and possibly at /tmp/*cron* files for 
further
output from the jobs.

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/

  reply	other threads:[~2007-09-13  5:26 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-12 14:40 cron Alexander Polson
2007-09-12 14:58 ` cron Larry Hall (Cygwin)
2007-09-13  5:26   ` Pierre A. Humblet [this message]
2007-09-13  6:00     ` cron René Berber
2007-09-13 15:35       ` cron Pierre A. Humblet
2007-09-13 18:25         ` cron Larry Hall (Cygwin)
  -- strict thread matches above, loose matches on Subject: below --
2012-01-10 21:27 cron Rolf Schlagenhaft
2012-01-10 21:46 ` cron Larry Hall (Cygwin)
2012-01-10 23:45 ` cron Rolf Schlagenhaft
2011-08-24 16:09 cron mramakishore
2011-08-24 16:58 ` cron Larry Hall (Cygwin)
2011-08-28 10:50   ` cron kishore
2011-08-31 18:07     ` cron Larry Hall (Cygwin)
2009-09-16  7:51 cron Μηχανογράφηση ΔΔΕ Α΄ Αθήνας
2009-09-16 16:15 ` cron Pierre A. Humblet
2008-05-15  3:13 cron Marc Kirby
2008-05-15 16:27 ` cron Pierre A. Humblet
2007-12-19 18:59 cron Bruno Zovich
2007-12-19 20:51 ` cron Pierre A. Humblet
2007-08-31 15:25 cron Barry Benowitz
2007-08-31 15:50 ` cron Larry Hall (Cygwin)
2007-08-31 16:34 ` cron Pierre A. Humblet
2007-08-08 14:50 cron Kiran, Shashi
2007-08-08 16:26 ` cron Pierre A. Humblet
2007-08-09  9:44   ` cron shash
2007-04-12 16:07 cron Gary Worthy
2007-04-12 16:15 ` cron Dave Korn
2004-05-11 22:11 cron Jimmy Hayes
     [not found] ` <75EA21FE420C864D895DE6E87383D6A157EA41@exchange1.meddatahc s.com>
2004-05-11 23:11   ` cron Larry Hall
2003-05-09  1:37 cron Bill C Riemers
2003-04-01 17:27 cron! Igor Pechtchanski
2003-04-01 17:32 ` cron adam r. christopher
2003-04-01 17:42   ` cron Igor Pechtchanski
2003-04-01 17:45     ` cron Igor Pechtchanski
2003-04-01 18:37   ` cron Thorsten Kampe
2002-01-07  2:30 cron Facey Brian
2002-01-07  3:46 ` cron Gerrit P. Haase
2001-07-13 13:08 cron David G. Baur
2001-07-13 13:12 ` cron Gerrit P. Haase
2001-06-20 19:32 Cron Bob Zimmerman
2001-06-21  2:22 ` Cron Michael Schaap

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='01bf01c7f5c6$6164e380$46c11518@wirelessworld.airvananet.com' \
    --to=pierre.humblet@ieee.org \
    --cc=Alexander.Polson@pbmr.co.za \
    --cc=cygwin@cygwin.com \
    /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).