Solved My automatic tasks don't execute.

wim1981

New member
Local time
2:58 PM
Messages
2
Hi everyone,

i have a Java program that tests when a contract is at 6 months before it will be stopped.
I have to let that program (is a runnable jar-file) run every day, or every month.
But when i set up a automatic task in my Windows 7 task shedular, it won't start the program.
although the jar file works when you double click it.

I have used a basic task for it. And went all the way through the wizard.

Does anyone know why the task won't execute?
It's my first time using this function of Windows 7

Kind regards
Wim
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Home Premium 64 bit
I have a solution myself to this problem!

Don't use the taskmanager from windows, it won't work.

Instead, use the REGEDIT function and ad a Key value with the path to the jar file. It will run everytime you start your pc.
Here is how you can do it: java - How to make a jar file run at start up - Stack Overflow
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Home Premium 64 bit
Back
Top