Re: [OpenIndiana-discuss] possible to modify the log file location for CRON?
On 08/ 3/17 02:47 AM, Peter Tribble wrote: On Thu, Aug 3, 2017 at 6:34 AM, Jerry Kempwrote: Wondering if it is possible to change/configure the directory location for cron from the stock /var/cron/log location to somewhere else. Not that I know of. It's hard-coded in the source. Why do you want to change it? It's a question I was asked at $WORK. Working in a multi-platform environment, I have had people inquire as to standardizing misc. log file locations across different platforms. For most items, moving log file locations around is pretty obvious and simple. Cron seems to be something else. Thanks for the reply, Jerry ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org https://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] possible to modify the log file location for CRON?
On Thu, Aug 3, 2017 at 6:34 AM, Jerry Kempwrote: > Wondering if it is possible to change/configure the directory location for > cron from the stock /var/cron/log location to somewhere else. > Not that I know of. It's hard-coded in the source. Why do you want to change it? > Looking at the man page, All I really see as configurable is that logging > can be turned off in the /etc/default/cron file. The PATH environmental > variable can also be set here. > > I also ran strings across the 'cron' binary, in hopes of turning up > something. If it is/was there, I missed it. > > Is it possible to configure the cron log file location using the 'as > supplied' cron daemon that ships with OpenIndiana? > > Thanks, > > Jerry > > ___ > openindiana-discuss mailing list > openindiana-discuss@openindiana.org > https://openindiana.org/mailman/listinfo/openindiana-discuss > -- -Peter Tribble http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/ ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org https://openindiana.org/mailman/listinfo/openindiana-discuss
[OpenIndiana-discuss] possible to modify the log file location for CRON?
Wondering if it is possible to change/configure the directory location for cron from the stock /var/cron/log location to somewhere else. Looking at the man page, All I really see as configurable is that logging can be turned off in the /etc/default/cron file. The PATH environmental variable can also be set here. I also ran strings across the 'cron' binary, in hopes of turning up something. If it is/was there, I missed it. Is it possible to configure the cron log file location using the 'as supplied' cron daemon that ships with OpenIndiana? Thanks, Jerry ___ openindiana-discuss mailing list openindiana-discuss@openindiana.org https://openindiana.org/mailman/listinfo/openindiana-discuss