Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #18740

Re: log4j & crontab

From Lars Enderin <lars.enderin@telia.com>
Newsgroups comp.lang.java.programmer
Subject Re: log4j & crontab
Date 2012-09-13 19:56 +0200
Organization albasani.net
Message-ID <50521E56.1090200@telia.com> (permalink)
References <cnfig8$h1p$1@garrison.globalnet.hr> <f6c3d2d8-0f49-4e18-a236-6cd7849dae02@googlegroups.com>

Show all headers | View raw


2012-09-13 15:47, daniellauzon2002@gmail.com skrev:
> Le mercredi 17 novembre 2004 08:03:19 UTC-5, Vuk a écrit :
>> when i implement crontab in my application his log4jjcrontab.properties overrides my log4j.properties
> 
> Not sure if we have the same problem but my app logs nicely when I launch it myself from the command line but fails to log when I let crontab launch it.
> 
In a crontab script you have to spell out the full path to executables,
or explicitly set the value of PATH to a suitable value similar to your
own PATH when logged in.

-- 
Lars Enderin

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: log4j & crontab daniellauzon2002@gmail.com - 2012-09-13 06:47 -0700
  Re: log4j & crontab Lars Enderin <lars.enderin@telia.com> - 2012-09-13 19:56 +0200

csiph-web