|
how to run java app on windows in a cron like on unix
I am trying to run a java program every 10 minutes on my windows PC. If I run the program manually all works fine...
java myProgramName
Since windows does not support crontab type functionality, I have installed pycron and it runs my program every ten minutes, but I get a class not found error.
I have tried
0,10,20,30,40,50 * * * * javaw myPackage.com.myProgram
I have added my program to the system environment variable CLASSPATH, but still no success.
Any thoughts on how I can set up cron on windows to run my java application?
Thanks in advance for your assistance
Dean-O
|