Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using a jsp to run an NT scheduled task

Status
Not open for further replies.

Sherylj

Programmer
Jan 21, 2000
55
US
Does anyone know if you can imbed a user name and password in a jsp app and have it run an NT scheduled task when a user clicks a RUN button for example? I have an NT scheduled task I need to allow a user to run but I can't give them administrator privileges on the server to share the task. I'm running an AS400 progrm this way and thought I might be able to do the same.

Thanks
 
Find the target of the scheduled task (ie the actual program) and use Runtime.getRuntime().exec("task.exe");
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top