This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: cron + network share(w/ full access?)
- From: "Larry Hall (RFK Partners, Inc)" <lhall at rfk dot com>
- To: Alan London <alondon7 at yahoo dot ca>, cygwin at cygwin dot com
- Date: Mon, 12 Jan 2004 11:34:36 -0500
- Subject: Re: cron + network share(w/ full access?)
- References: <20040112081853.70213.qmail@web60204.mail.yahoo.com>
Yes, this works fine. I just ran some tests here and I
have no problem accessing shares from cron if the shares
are accessible without the need to authenticate (under
Windows). I don't know why you and Tim had problems
getting this to work with his option 1 (which is all I
need - actually "Everyone" or "Guest" permissions is
sufficient here).
Larry
At 03:18 AM 1/12/2004, Alan London you wrote:
>Oh? This works for you? I can't seem to get this to
>work... it seems
>SYSTEM doesn't have the right access to network shares
>via UNC paths.
>(That was the whole reason for the lengthy discussion
>that I linked to
>in my message below:
>
>http://www.cygwin.com/ml/cygwin/2003-04/msg01001.html)
>
>Anyways, I've given up and used Windows' own Task
>Scheduler for jobs
>which need network access.
>
>Alan
>
>Andrew DeFaria wrote:
>> > Alan London wrote:
>> >
>> > Hi,
>> >
>> > Thanks for the message but cron_diagnose.sh
>doesn't seem to give
>> > me insight on what I'm trying to do.
>> >
>> > I was trying to perform a hack discussed in this
>thread:
>> >
>http://www.cygwin.com/ml/cygwin/2003-04/msg01001.html
>> >
>> >
>> > I am attempting to have the cron service run as
>another user so
>> > that it can access network shares.
>>
>>
>> The best way to have cron access network shares is
>to leave cron
>> running as SYSTEM, make the share a public share and
>access it view
>> a UNC path (e.g. //server/share/path/file).
>
>
>
>__________________________________
>Do you Yahoo!?
>Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
>http://hotjobs.sweepstakes.yahoo.com/signingbonus
>
>--
>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/
--
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/