Brigadier Jigar
Brigadier Jigar

Reputation: 1201

Run an application as background process

I have developed a Java application. I want to run it as a background process. It should not be displayed as Running Application in task Manager, but it should be displayed in Processes List. Help me out. Regards, Jigar

Upvotes: 0

Views: 1991

Answers (3)

Hemanth
Hemanth

Reputation: 31

In addition to Command Prompt option given by Rafael Roman, we can also schedule task through Control Panel -> Scheduled Tasks -> Add Schedued Task. For more info: http://technet.microsoft.com/en-us/library/cc738106(v=ws.10).aspx

Upvotes: 3

Panthro
Panthro

Reputation: 3590

There's no need for complex solutions.

use the at commando and create a bat that runs your program.

type in any cmd windows:

at 10:00 c:\run_my_script.bat

remember to replace 10:00 to a time 1 minute after the current time of your machine

Upvotes: 0

Riduidel
Riduidel

Reputation: 22292

I've edited your question since it's a pure windows issue.

I would suggest you to take a look at ways to run your java application as a windows service.

Upvotes: 4

Related Questions