Hi,
I login as root and modify the /etc/crontab by executing 'crontab -e' command and add the following line to crontab :
0-59 16 * * * root /etc/local/j2sdk1.4.1/bin/java /home/FileOutput
where FileOutput is a java program in .class. If I run manually by typing 'java FileOutput', a file will be generated in he same directory.
I always receive email saying that NoClassFound. Please help !
regards,
Larva
I login as root and modify the /etc/crontab by executing 'crontab -e' command and add the following line to crontab :
0-59 16 * * * root /etc/local/j2sdk1.4.1/bin/java /home/FileOutput
where FileOutput is a java program in .class. If I run manually by typing 'java FileOutput', a file will be generated in he same directory.
I always receive email saying that NoClassFound. Please help !
regards,
Larva