![]() |
|
|
|
|
|||||||
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| logging into | vinayrao | Shell Programming and Scripting | 1 | 03-14-2008 07:57 AM |
| key logging | lakshmananindia | UNIX for Advanced & Expert Users | 1 | 12-26-2007 05:00 AM |
| UFS logging | csaunders | SUN Solaris | 6 | 10-11-2005 03:40 PM |
| need more logging | dozy | UNIX for Dummies Questions & Answers | 3 | 11-18-2004 06:04 AM |
| Asking about logging in | blueberry80 | UNIX for Dummies Questions & Answers | 1 | 08-29-2003 06:51 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Logging in crontab
Hi,
I'm having a bit of trouble with a piece of Java code. The code works like I want it to, and if I run it from the command line, the Java logging works perfectly. When I submit the code as a cron job however, the log files are not created, even though the code again does what it's supposed to. I don't see anything on the man page for crontab, and the cron man page is full of warnings about how much info might be logged. [;0) Do I need special permissions from my SysAdmin to get the logs to work? Thanks, -- piche |
| Forum Sponsor | ||
|
|
|
|||
|
Well that was it. I already had a "home" envirnoment variable defined it in my script, so I added it to the java command line and used System.getProperties to read it and prepend it to the filename.
Works fine! Lasts a long time! Problem solved. Thanks, -- piche |
|||
| Google UNIX.COM |
| Thread Tools | |
| Display Modes | |
|
|