开发者

Quartz Scheduler - Not running the task

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开发者_StackOverflow社区 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");
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜