delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/12/12/11:08:52

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Lamar Seifuddin" <lamarts AT flash DOT net>
To: <cygwin AT cygwin DOT com>
Subject: Cron jobs won't run with network drive
Date: Wed, 12 Dec 2001 10:06:09 -0800
Message-ID: <EGEELNKPHPCMJAOJBEHHCEBOCMAA.lamarts@flash.net>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
Importance: Normal
X-Mimeole: Produced By Microsoft MimeOLE V6.00.2600.0000

Hello All,

I researched this post and followed the instructions
below:

I can create cronjobs on the local drive

but, I can't seem to do anything with cronjobs which
involve accessing the network drives.

Anyone have an idea of what I'm missing?

Appreciate any help in this matter.

thank you,

Lamar


-----Original Message-----
From: Cioffari, Joseph [mailto:Joseph DOT Cioffari AT aig DOT com]
Sent: Tuesday, August 21, 2001 10:57 AM
To: 'cygwin AT cygwin DOT com'
Subject: FW: Cron jobs won't run


Kent,

I followed instructions below but I am now having problems writing and/or
creating the 'Administrator' crontab file.  It is giving me 'writing
/tmp/cron135 permission denied' responses.  I even changed all permissions
on the /tmp and /var/cron directories so that Administrator could write to
it after it didn't seem to work with SYSTEM owning those directories.  Any
ideas?

Thanks,
Joe

-----Original Message-----
From: Headley, Kent [mailto:headley AT mbari DOT org]
Sent: Monday, August 20, 2001 7:23 PM
To: Cioffari, Joseph
Subject: Re: Cron jobs won't run


hello joe,

I had this problem as well; I do know that part of the solution is to
install cron using
cygrunsrv -I cron -p /usr/sbin/cron.exe -a -D -e "CYGIWIN=tty ntsec"
and/or defining 'CYGWIN=tty ntsec' in your NT environment variables.
Another problem that I encountered was that the directory /var/cron/tabs
must be created by the cron service to make sure that all of the permissions
work correctly. Note that crontab will also create this directory if it
doesn't exist, but will not set the owner, group or permissions correctly.
To make this work correctly, first remove the /var/cron and all below it:
rm -Rf /var/cron
and then start the cron service (it will automatically create
/var/cron/tabs, owned by SYSTEM)
cygrunsrv -S cron
Only now is it safe to run crontab to install, remove or edit cron jobs.
I hope this helps.

Kent Headley
_____________________________

Software Engineer
Research & Development Division

MBARI
7700 Sandholdt Road
Moss Landing, CA 95039-0628

Tel: 831.775.1822
Fax: 831.775.1645
e-mail: headley AT mbari DOT org
website: http://www.mbari.org

"If at first the idea is not absurd, then there is no hope for it." - Albert
Einstein


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019