Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

Your Answer


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.