public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Igor Pechtchanski <pechtcha@cs.nyu.edu>
To: "adam r. christopher" <adam@du.edu>
Cc: cygwin@cygwin.com
Subject: Re: cron
Date: Tue, 01 Apr 2003 17:42:00 -0000	[thread overview]
Message-ID: <Pine.GSO.4.44.0304011235540.21921-100000@slinky.cs.nyu.edu> (raw)
In-Reply-To: <Pine.OSF.4.33.0304011030460.388225-100000@odin.cair.du.edu>

Adam,

Quoting from your cygcheck output:

	C:\Cygwin                                       /               system  textmode
	C:\Program Files\OpenSSH\NetworkSimplicity\ssh  /bin            system  binmode
	C:\Program Files\OpenSSH\NetworkSimplicity\etc  /etc            system  binmode
	C:\Program Files\OpenSSH\NetworkSimplicity\ssh  /ssh            system  binmode
	C:\Program Files\OpenSSH\NetworkSimplicity\ssh  /usr/bin        system  textmode
	C:\Cygwin/lib                                   /usr/lib        system  textmode
	C:\Program Files\OpenSSH\NetworkSimplicity\ssh  /usr/local/bin  system  binmode
	C:\Program Files\OpenSSH\NetworkSimplicity\ssh  /usr/local/etc  system  binmode
	C:\Program Files\OpenSSH\NetworkSimplicity\var  /var            system  binmode
	.                                               /cygdrive       user    textmode,cygdrive

This shows a few things:

1) you're missing a system-level cygdrive prefix (therefore, cron won't know about /cygdrive).
2) you're not really running the stuff installed by Cygwin, as your /bin is not mounted from a Cygwin directory.
3) furthermore, your /usr/bin is not the same as your /bin, which brings its own slew of problems.

If I were you, I'd uninstall NetworkSimplicity's OpenSSH (which would,
hopefully, restore the mounts to their original state), and re-run Cygwin
setup.  If that doesn't work, run the appropriate mount commands by hand.
Mine are:

mount -f -s -b "C:/cygwin/usr/X11R6/bin" "/usr/bin/X11"
mount -f -s -b "C:/cygwin/bin" "/usr/bin"
mount -f -s -b "C:/cygwin/lib" "/usr/lib"
mount -f -s -b "C:/cygwin" "/"
mount    -b --change-cygdrive-prefix "/cygdrive"
mount -s -b --change-cygdrive-prefix "/cygdrive"

HTH,
	Igor

On Tue, 1 Apr 2003, adam r. christopher wrote:

> As a postmaster myself, I should have recognized that my subject line was
> SPAMmish - sorry about that.
>
> Can you tell me more about why/how my mounts are screwed up, and how this
> relates to cron?
>
> -adam
>
> On Tue, 1 Apr 2003, Igor Pechtchanski wrote:
>
> > On Tue, 1 Apr 2003, adam r. christopher wrote:
> >
> > > Hey all,
> > >
> > > I am trying to get cron to work, but I'm not having too much luck. It's
> > > running as LocalSystem, the logs (both in /var/log/crond.log and the Event
> > > Logs) show no errors, only events such as LIST, and yet it doesn't seem to
> > > be working.
> > >
> > > In my example, I'm simply trying to touch a file called 'gold' in the
> > > specified directory, but it never shows up. The cript runs fine from the
> > > command line.
> > >
> > > $ crontab -l
> > > 1,5,10,15,20,25,30,35,40,45,50,55 * * * * /cygdrive/u/usr/Core/bin/test.sh
> > >
> > > $ cat /cygdrive/u/usr/Core/bin/test.sh
> > > /usr/bin/touch /cygdrive/u/usr/Core/bin/gold
> > >
> > > $ ls -l
> > > -rwxrwxrwx+   1 Administ 65535          44 Apr  1 09:29 test.sh
> > >
> > > $ ls -l /var/cron/tabs
> > > -rwxrwxrwx+   1 Administ SYSTEM        154 Apr  1 09:42 Administrator
> > >
> > > cygcheck is attached.
> > >
> > > Any help, guys?
> > >
> > > Thanks!
> > > -adam
> > > University of Denver
> >
> > Adam,
> >
> > You do know that you've installed NetworkSimplicity's OpenSSH and that
> > it's screwed up your mounts, right?
> >       Igor
> > P.S. That subject was *very* suggestive of a SPAM message, BTW...

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Knowledge is an unending adventure at the edge of uncertainty.
  -- Leto II


--
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:[~2003-04-01 17:42 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-01 17:20 cron! adam r. christopher
2003-04-01 17:27 ` cron! Igor Pechtchanski
2003-04-01 17:32   ` cron adam r. christopher
2003-04-01 17:42     ` Igor Pechtchanski [this message]
2003-04-01 17:45       ` cron Igor Pechtchanski
2003-04-01 18:37     ` cron Thorsten Kampe
  -- 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-09-12 14:40 cron Alexander Polson
2007-09-12 14:58 ` cron Larry Hall (Cygwin)
2007-09-13  5:26   ` cron Pierre A. Humblet
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)
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
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=Pine.GSO.4.44.0304011235540.21921-100000@slinky.cs.nyu.edu \
    --to=pechtcha@cs.nyu.edu \
    --cc=adam@du.edu \
    --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).