I need to set up a cron job that has access to a network share.  It looks
something like this:

net use z: \\\\computer\\share passwd /user:zzzz /persistant:no
<a program that accesses z:>
net usr z: /delete

the shell script runs fine under bash.  but from within cron I get:

System Error 1312
 A specified logon session does not exist.  It may already have
 been terminated.

I guess this is because cron is running under the local system account,
which has no "logon" session.

I tried setting up the cron service to run under the host's Administrator
account, but that gives me a error: seteuid: not owner

can anyone help me????
--
Lou Rayman               [EMAIL PROTECTED]
Senior Engineer          www.redtop.com
The Redtop Company, LLC

--
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 via email to