Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Wolfgang Riedmann" Newsgroups: comp.lang.clipper.visual-objects Subject: Re: Windows Task Scheduler does not run VO programs on a server Date: Fri, 1 Jul 2016 07:41:17 +0200 Lines: 43 Message-ID: References: <1jpanb5mb970ip4nqdnkhrvrhmpsqqe2fu@4ax.com> X-Trace: individual.net QZVJgHDdObRUWeHT78+qIQ4ZcicXIYimb+ot2zqvXuXgGAchg= Cancel-Lock: sha1:j6kCt9RCGevXpG3crgLopEUJkQ0= User-Agent: XanaNews/1.18.1.6 Xref: csiph.com comp.lang.clipper.visual-objects:9496 Hi Dick, the task scheduler is a service running under its own account. Normally, my programs scheduled by the task scheduler (running on all server versions from 2008 R2 up to 2012 R2) are running under an account I create for them - and they cannot use a mapped drive, only a UNC path. I would recommend to create a local cmd script that calls the executable from the UNC path, but I'm running also successfully programs from a UNC path. Wolfgang D.J.W. van Kooten wrote: > Again a question with TaskScheduler but this time it's about the > Windows program to schedule a task to deploy on set times. > > Running this on Server 2012, I can not select the mapped drive where > the program normally runs. I can however select the VO exe I want to > start using \\servername\ (etc. > > I fill in all paramaters but the program doesn't run. Worse, the > history says that that the program did run but it didn't. I even tried > a the Task Scheduler to run a .Bat file and this starts but stops > working as soon as it is about to do something on that mapped drive. > > It worked without problems in the Task scheduler of older Windows > Servers, like Server 2003 (not the first Microsoft program which went > from bad to worse over time...). > > Did anyone encounter this problem and solve it? > > Dick > > --- news://freenews.netfront.net/ - complaints: news@netfront.net --- --