public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Buck Turgidson" <jc_va@hotmail.com>
To: <cygwin@cygwin.com>
Cc: <maharig@idirect.net>
Subject: Re: Cron Won't Run Jobs
Date: Fri, 06 Dec 2002 10:19:00 -0000	[thread overview]
Message-ID: <BAY1-DAV433SOlbpH7100004441@hotmail.com> (raw)
In-Reply-To: <BADF3C947A1BD54FBA75C70C241B0B9E7630C5@ex02.idirect.net>

I am not sure how to interpret this, but if you can tell me what I need to
change, I'd appreciate it.  This is getting me pretty frustrated...

-rw-r-----    1 400      18            211 Dec  5 08:39 /var/cron/tabs/buck




----- Original Message -----
From: "Harig, Mark A." <    >
To: "Buck Turgidson" <jc_va@hotmail.com>; <cygwin@cygwin.com>
Sent: Friday, December 06, 2002 10:59 AM
Subject: RE: Cron Won't Run Jobs


What is the output of 'ls -ln /var/cron/tab/buck'?

'buck' needs to have its 'group' ownership set to SYSTEM,
and SYSTEM needs to have its value set to 18.

> -----Original Message-----
> From: Buck Turgidson [mailto:jc_va@hotmail.com]
> Sent: Thursday, December 05, 2002 9:34 AM
> To: cygwin@cygwin.com
> Subject: Re: Cron Won't Run Jobs
>
>
> I have the following line in monsql, and I don't see it,
> unless I run it
> manually:
>
> echo "Monsql executed on $(date)" >> /tmp/cron.log
>
> Here is the output from cygcheck -sv
>
>
>
>
>
> ----- Original Message -----
> From: "Vince Hoffman" <Vince.Hoffman@uk.circle.com>
> To: "'Buck Turgidson'" <jc_va@hotmail.com>; <cygwin@cygwin.com>
> Sent: Thursday, December 05, 2002 9:05 AM
> Subject: RE: Cron Won't Run Jobs
>
>
> > Moer info would be good. (cygcheck as an attachment is
> always a good start
> > :)
> > does monsql pop up a window ? (services that interact with
> the desktop
> need
> > spacial permission)
> > try adding a line like
> > * * * * * /usr/bin/touch /tmp/crond_running
> > to your crontab and see if that works,
> >
> > > -----Original Message-----
> > > From: Buck Turgidson [mailto:jc_va@hotmail.com]
> > > Sent: 05 December 2002 13:51
> > > To: cygwin@cygwin.com
> > > Subject: Cron Won't Run Jobs
> > >
> > >
> > > I installed CYGWIN yesterday, and am having trouble getting
> > > cron to work.
> > > My cron job, set to run every minute, does not execute.
> > >
> > > I have read through the archives, and below is relevant data.
> > >
> > > I would appreciate any advice on what to try next
> > >
> > >
> > > chmod 1777 /var/cron
> > > chmod 1777 /var/cron/tabs
> > >
> > > cygrunsrv -E cron
> > > cygrunsrv -R cron
> > > cygrunsrv -I cron -p /usr/sbin/cron -a -D -e "CYGWIN=tty ntsec"
> > > cygrunsrv -S cron
> > >
> > >
> > > This is what the process list looks like:
> > >
> > > /var/cron > ps -ef
> > >      UID     PID    PPID TTY     STIME COMMAND
> > >   buck       395       1 con  08:36:06 /usr/bin/bash
> > >   SYSTEM     392       1   ?  08:40:54 /usr/bin/cygrunsrv
> > >   SYSTEM     350     392   ?  08:40:54 /usr/sbin/cron
> > >   buck        63     395 con  08:48:11 /usr/bin/ps
> > >
> > >
> > > This is /etc/group
> > >
> > > /var/cron > cat /etc/group
> > > SYSTEM:S-1-5-18:18:
> > > None:S-1-5-21-926890155-1422859606-844764980-513:513:
> > > Administrators:S-1-5-32-544:544:
> > > Backup Operators:S-1-5-32-551:551:
> > > Guests:S-1-5-32-546:546:
> > > Power Users:S-1-5-32-547:547:
> > > Replicator:S-1-5-32-552:552:
> > > Users:S-1-5-32-545:545:
> > > /var/cron >
> > >
> > >
> > >
> > > This is my cronjob
> > >
> > > /var/cron > crontab -l
> > > # DO NOT EDIT THIS FILE - edit the master and reinstall.
> > > # (/tmp/crontab.312 installed on Thu Dec  5 08:39:21 2002)
> > > # (Cron version -- $Id: crontab.c,v 1.6 2001/09/19 17:09:55
> > > corinna Exp $)
> > > */1 * * * *  monsql
> > > /var/cron >
> > >
> > >
> > >
> > >
> > > --
> > > Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> > > Bug reporting:         http://cygwin.com/bugs.html
> > > Documentation:         http://cygwin.com/docs.html
> > > FAQ:                   http://cygwin.com/faq/
> > >
> >
> > --
> > Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> > Bug reporting:         http://cygwin.com/bugs.html
> > Documentation:         http://cygwin.com/docs.html
> > FAQ:                   http://cygwin.com/faq/
> >
>

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

  reply	other threads:[~2002-12-06 18:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-06  8:21 Harig, Mark A.
2002-12-06 10:19 ` Buck Turgidson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-12-06 17:00 Harig, Mark A.
2002-12-06 10:55 Harig, Mark A.
2002-12-05  6:29 Vince Hoffman
2002-12-05  6:39 ` Buck Turgidson
2002-12-05  6:01 Buck Turgidson

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=BAY1-DAV433SOlbpH7100004441@hotmail.com \
    --to=jc_va@hotmail.com \
    --cc=cygwin@cygwin.com \
    --cc=maharig@idirect.net \
    /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).