Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Executing a file on another server
Message
From
15/03/2012 21:53:41
 
 
To
14/03/2012 16:20:56
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01538362
Message ID:
01538509
Views:
44
I finally got it working.

From a server, under IIS, I can enable/disable a task from the Windows Scheduler as well as starting/stopping the execution of that task on a remote server. This requires the application pool identity to be changed to the same account as the one in the Windows Scheduler for the RunAs field. So, we just have to synchronize those related tasks to use the same username and password for the RunAs as the one defined in the application pool identity on the IIS server triggering the hit.

Now, what is confusing is that the enable and disable option requires /ru and /rp for the username and password. However, to end and run the task, you need to use the /u and /p options.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform