1. Compile your java source file with javac
2. run the program with "java -cp path program_name"
3. if it runs ok add it to your crontab.
4. seriously consider rewriting it using java threads!
--
Don't Stand on your head - you'll get footprints in your hair.
http://charlieharvey.com