> Mapped drives are per-user. Usually, services run under the LOCAL_SYSTEM
> account, not using the currently logged user (because they may start even
> before any user is logged). If you want the service to have access to your
> mapped drives, use the service control panel to make it run under an
En Sun, 25 Mar 2007 10:17:47 -0300, Al <[EMAIL PROTECTED]> escribió:
>I figured it out... Pycron does not work with mapped drives. My
> script was supposed to copy files from a mapped drive to a local
> folder... I had set up my batch command as copy M:\foldername\*.*,
> where M: is a mapped d
Shane,
I figured it out... Pycron does not work with mapped drives. My
script was supposed to copy files from a mapped drive to a local
folder... I had set up my batch command as copy M:\foldername\*.*,
where M: is a mapped drive pointing to the network share; M: is
defined on the PC running th
Here's something else you should consider: Look at the source code of
pycron. I just downloaded it. Much to my surprise, this is implemented
in about 115 lines of code.
In particular, look at the run() function. You should try adding a
try-except block around the system call to get a hint
heh... didn't think about that... thanks.
--
http://mail.python.org/mailman/listinfo/python-list
En Mon, 19 Mar 2007 16:00:04 -0300, Al <[EMAIL PROTECTED]> escribió:
> I looked in the pycron.log file, and I noticed that for the entires of
> my new job, I see "rc=4" and the end of each line. All other jobs have
> "rc=0" at the end of the line. I assume then, that rc=4 is a reference
> to an er