Quartz Scheduler - Not running the task
Posted
by pandi-sus
on Stack Overflow
See other posts from Stack Overflow
or by pandi-sus
Published on 2010-05-10T21:34:44Z
Indexed on
2010/05/10
21:44 UTC
Read the original article
Hit count: 676
I am working on scheduling the tasks using Quartz API. I tried scheduling notepad.exe and in the logs, I see the following line -
org.quartz.jobs.NativeJob runNativeCommand About to runcmd.exe /C c:/WINDOWS/notepad.exe ...
But the notepad is not coming up. Same is the issue with any exe or batch file. I also see the notepad.exe as a running process in Task Manager.
Code:-
JobDataMap map = new JobDataMap();
map.put(NativeJob.PROP_COMMAND, "c:/WINDOWS/notepad.exe");
© Stack Overflow or respective owner