[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [LOCALE] Re: Sprogforviring?



"Morten Bo Johansen" <sslug@sslug> wrote in message
news:sslug@sslug
> Jacob Sparre Andersen <sslug@sslug> wrote:
>
> JSA> Ricco Jensen skrev:
>
> JSA> Når jeg selv startet et job i shell så er dato Dansk altså
> JSA> mandag er mandag men når cron job startet så er den lige
> JSA> pluselig US altså mandag er nu Monday.  Hvordan ændrer man
> JSA> det?
>
> JSA> Indsæt en linje med »LANG=da_DK.ISO8859-1« først i din
> JSA> "crontab".
>
> Skulle det være nødvendigt? Cron kører som root, så hvis locale
> er sat for root-brugeren, ville det så ikke også virke for cron?
> (spørger kun, har ikke testet)
>
>
cron kører normalt med rettigheder som root men ikke med root's
environment. hvis du ikke er overbevist, så kør export som root
fra en login-shell og sammenlign med export>fil kørt som cronjob.
hvis du ikke redirigere output til en fil for du output som mail.
mvh
stig



 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:54 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *