Top.Mail.Ru
September 30th, 2004 - Java developers — LiveJournal
? ?

Java developers

September 30th, 2004
Image

07:10 am - Imagematthias382 - 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?
Powered by LiveJournal.com
Image