Sunday, 13 January 2019

Windows Scheduler Last run Result 0x1

Here we are discussing about How to set Task Scheduler for a java file.
Step by steps:
1) Hope you know to go to Task scheduler in Windows: Windows 10, Just search with task scheduler and you can find the Task scheduler.
 and create the Task scheduler.

The setting is: 
Program/script: "C:\Program Files\Java\jre7\bin\javaw.exe" 
Arguments: -jar C:\Users\admin\Desktop\TestTask.jar 
Start in (optional): C:\Users\admin\Desktop ---- added 

If will solve the Last run Result 0x1 Error.