Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #9494 > unrolled thread

Windows Task Scheduler does not run VO programs on a server

Started byD.J.W. van Kooten <vankooten@removethis.ic2.com>
First post2016-06-30 20:40 +0200
Last post2016-07-13 12:43 +0200
Articles 6 — 3 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  Windows Task Scheduler does not run VO programs on a server D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2016-06-30 20:40 +0200
    Re: Windows Task Scheduler does not run VO programs on a server "Jim" <nospam@example.com> - 2016-06-30 17:30 -0400
    Re: Windows Task Scheduler does not run VO programs on a server "Wolfgang Riedmann" <wriedmann@gmail.com> - 2016-07-01 07:41 +0200
      Re: Windows Task Scheduler does not run VO programs on a server D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2016-07-05 18:57 +0200
        Re: Windows Task Scheduler does not run VO programs on a server D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2016-07-05 23:46 +0200
          Re: Windows Task Scheduler does not run VO programs on a server D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2016-07-13 12:43 +0200

#9494 — Windows Task Scheduler does not run VO programs on a server

FromD.J.W. van Kooten <vankooten@removethis.ic2.com>
Date2016-06-30 20:40 +0200
SubjectWindows Task Scheduler does not run VO programs on a server
Message-ID<1jpanb5mb970ip4nqdnkhrvrhmpsqqe2fu@4ax.com>
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 ---

[toc] | [next] | [standalone]


#9495

From"Jim" <nospam@example.com>
Date2016-06-30 17:30 -0400
Message-ID<nl4326$4ut$1@news.albasani.net>
In reply to#9494
May be this link will help: 
https://technet.microsoft.com/en-us/library/cc721846(v=ws.11).aspx

Jim

"D.J.W. van Kooten"  wrote in message 
news:1jpanb5mb970ip4nqdnkhrvrhmpsqqe2fu@4ax.com...

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

[toc] | [prev] | [next] | [standalone]


#9496

From"Wolfgang Riedmann" <wriedmann@gmail.com>
Date2016-07-01 07:41 +0200
Message-ID<dtme42FefcuU1@mid.individual.net>
In reply to#9494
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 ---



-- 

[toc] | [prev] | [next] | [standalone]


#9503

FromD.J.W. van Kooten <vankooten@removethis.ic2.com>
Date2016-07-05 18:57 +0200
Message-ID<rkpnnb9jdauop1486q9qjjsmd27spv9n6f@4ax.com>
In reply to#9496
Replying on message of Fri, 1 Jul 2016 07:41:17 +0200 from Wolfgang
Riedmann:


 Hello Wolfgang,

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

Thanks Jim, Wolfgang for the reply. 

I thought I did do just that, checked what all could be wrong,  but
that it (still) didn't work. I will try again and report back.

Dick

--- news://freenews.netfront.net/ - complaints: news@netfront.net ---

[toc] | [prev] | [next] | [standalone]


#9509

FromD.J.W. van Kooten <vankooten@removethis.ic2.com>
Date2016-07-05 23:46 +0200
Message-ID<5gaonb12m36puqt9pru3tha1oonqrspfjp@4ax.com>
In reply to#9503
Checked it with a .bat file but no luck. It says it completed the task
but nothing happens. Earlier experiences showed that a .bat file doing
something general (a dos command or something) works but running a VO
exe simply doesn't work.

I will have to try something else. As usual, on using Microsoft
software unfortunately. 

Dick


--- news://freenews.netfront.net/ - complaints: news@netfront.net ---

[toc] | [prev] | [next] | [standalone]


#9521

FromD.J.W. van Kooten <vankooten@removethis.ic2.com>
Date2016-07-13 12:43 +0200
Message-ID<ui6cobpumkomncg2v2drvgvehlat330j9k@4ax.com>
In reply to#9509
Replying on message of Tue, 05 Jul 2016 23:46:21 +0200 from D.J.W. van
Kooten:

In the meantime I found out that it works with VO exe's (I think the
problem may have been that in the first screen, bottom, it says
Configure for... and it's not smart enough to select the current used
Windows version. I left it unchanged (usually it is always best to
keep it downwards compatible somehow) but later changed it to Windows
10 (resp Server 2012, for my client) and checked Hidden. 

Still I thought it didn't work but found out it started the program
briefly and then it disappeared from the Task Manager. This is due to
the UNC path. See my new posting.

Dick

--- news://freenews.netfront.net/ - complaints: news@netfront.net ---

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web