Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have 2 tasks that need to be run, 1 of them is a c# console application and another is a java application (main/console app also).

Can a scheduled task make a call to the cmd prompt like:

java -jar blah.jar

share|improve this question
add comment

1 Answer

Sure can running a C# console apps or java JAR files should be straight forward. I've found it easier to create a batch file for running a JAVA app only because it was easier to change things later For e.g. add libraries to a classpath or change the VM heap size etc.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.