StatCounter User Forum  
StatCounter Free web tracker and counter

Go Back   StatCounter User Forum > Webmaster > Lounge (non-StatCounter related topics here!)

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 04-07-2006, 01:38 PM
gntombel gntombel is offline
Member
 
Join Date: Oct 2004
Location: Cape Town
Posts: 67
Send a message via Skype™ to gntombel
Default Help with cron job

Hi I have this shell script:

#!/bin/bash
echo start cleanup script......
java Cleanup
echo finished executing cleanup script

The script starts a java program Cleanup on the unix shell. I use cron to run the script periodically. The problem is that when using the shell script it prints this error:

start cleanup script......
Exception in thread "main" java.lang.NoClassDefFoundError: Cleanup
finished executing cleanup script

But if I run the program on the command line it doen't give any problem.

How can I fix this?
  #2  
Old 04-07-2006, 03:03 PM
webado's Avatar
webado webado is offline
Moderator
 
Join Date: Apr 2004
Location: Montreal, Quebec, Canada
Posts: 28,172
Default

Sorry, no clue. You need some serious technical advise here.

I can't even run shell commands on my server, so no way to test any such stuff.

Hopefully some of much more knowledgeable people will be along soon to help you.
__________________
Christina
>>Forum Moderator<<

Please do not PM me for support. The forum is here for that.
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:22 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.