LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] the first day of the week?

[ILUG] the first day of the week?

David Howe david.howe at howesystems.com
Thu Mar 5 12:06:00 GMT 2009


On Wed, March 4, 2009 6:40 pm, Paul O'Malley - gnu's not unix - wrote:

> In the Irish Civil Service (no jokes about that please).
> Day 1 of the working week is Sunday - no I have not been one since the
> early 1980's.
>
> man date gives you Monday

But if you read down the man page, day 0 is sunday, so there is agreement
between "cron" and "date". This is a relief as I know cron when used for
emails "charset=" will default to locale.

"%u     day of week (1..7); 1 is Monday"

or more altenatively:

"%w     day of week (0..6); 0 is Sunday"

So there is some consistency in day of the week and cron. Mind you day 1
is Monday and day 0 is Sunday seems to be pretty universally agreed. Which
is first is up to you.

David
> --
> Irish Linux Users' Group mailing list
> About this list : http://mail.linux.ie/mailman/listinfo/ilug
> Who we are : http://www.linux.ie/
> Where we are : http://www.linux.ie/map/
>


-- 
David Howe
Managing Director
Howe Systems Limited-"protecting your data"
Tel: +353 402 93030
Mob: +353 86 328 2903
Registered Address: Rock Big, Arklow, County Wicklow
Place of Registration: Dublin, Ireland.
Company Registration Number:399359





More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell