On Thu, Sep 12, 2013 at 09:44:13PM +0000, Pottinger, Hardy J. wrote:
> Hmm... interesting, I googled for the appropriate way to articulate our
> local variant of English, and found this article instead:
> 
> http://www.logikdev.com/2010/02/02/locale-settings-for-your-cron-job/
> 
> 
> Which suggests using /etc/environment, though I do note that
> /etc/environment is deprecated. Regardless, we should probably update our
> documentation to reflect this information.

Who says it's deprecated?  On a Gentoo system this file belongs to
pam_env, and seems alive and well.

What we should document is that cron jobs run in a ruthlessly
minimized environment, that you need to take explicit steps to provide
things that you normally take for granted, and here is a list of such
things that may affect the way DSpace cron jobs function.

There are a number of different cron packages out there, and they may
behave somewhat differently.

I've been known to prepend ". /etc/profile; " to crontab entries'
commands, to get things set up the way I expect.

-- 
Mark H. Wood, Lead System Programmer   [email protected]
Machines should not be friendly.  Machines should be obedient.

Attachment: signature.asc
Description: Digital signature

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to