hi i wrote a program that forces System.exit(0); but first launches ShutDownListener to run another package java -jar path to file/program2.jar
and this all works fine however i want to run this programe every 5 hours and am usin cron on ubuntu to do this. but the first programe runs fine and i presume exits as i have all output file from the programe stamped with time and ate so it definitly runs however it doesint launch th second package?? does anyone have any experiance with this an be able to shed some light plan b is to write another schedual for second package but that would be iniffeicent and all soo does anyone kjnow why ShutDownListener might work in netbeans but not from terminal? thaks