![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Java errors | BOFH | SUN Solaris | 2 | 03-08-2007 09:24 AM |
| Calling a PHP script from cron | eludlow | UNIX for Dummies Questions & Answers | 10 | 06-06-2004 11:14 AM |
| calling a script from java | javierelizabeth | UNIX for Dummies Questions & Answers | 1 | 03-05-2004 10:56 AM |
| errors when running a cron job | knarayan | UNIX for Dummies Questions & Answers | 2 | 01-23-2002 02:00 AM |
| Java program calling a UNIX command | QUartz Ite | UNIX for Dummies Questions & Answers | 2 | 11-15-2001 09:17 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
I am more or less new to using cron, and I am trying to automate a log cleaning system I have made. The system basically cleans through WWW logs that are mounted on an NFS and creates text files for entry into a local PostgreSQL DB.
For the past year I have been running the various scripts and programs I have created from the terminal daily. Everything worked just fine. However, when I rely on cron I now I find I can not insert into my PostgreSQL DB using its JAVA interface. I get the following errors: Exception in thread "main" java.lang.NoClassDefFoundError: /Users/admin/LOGS/Insert_data The flow of the insert routine that I use runs as follows: 01_insert_data.csh -> 01_insert_data.pl -> Insert_data.class (call one site at a time) (lists up non-inserted files) (inserts data into DB) What is the difference between running appli from the terminal and running appli from the cron? What gets "lost" with cron that would be nomally found on the terminal? |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|