30 September 2004 - java_dev (original) (raw)

07:10 am - matthias382 - Cron Problems OK, I know the problem might not seem to be Java-related, but I'm at my wits' end here.I've got a compiled Java main class and a Windows batch file for executing it using the 'java' executable with the right classpath and all that good stuff. Whenever I run the batch file manually, it seems to function fine.I've tried using two different pieces of cron software, nnCron and VisualCron, to execute the batch file automatically. I've literally watched both execute the batch file, but anytime either executes it, the class doesn't perform its function. The batch file only contains the call to 'java' and no other commands follow it.Anyone else had a similar problem and can point me in the right direction?