08-27-2012
@edstevens
Like many Systems Administrators I work with a mixed M$ and unix/Linux (and more) environment. It never ceases to amaze me how M$ can make arbitary unannounced changes to their O/S without considering the consequences. This case was sort of trivial, but had worldwide impact on non-M$ systems.
I personally wasted a day finding out what was different between two of my desktops then spent another day writing-up a fix for umpteen other desktops which had a recent M$ "upgrade".
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
ok, does anyone know how i can strip out fields i dont want from a mail spool file (eg: /var/mail/usermailbox) and dump to standard output (or file with > filename) ?? i tried using a bunch of grep -v 's but i realized that has two main problems, first of all, if anyone types the text im grepping... (6 Replies)
Discussion started by: norsk hedensk
6 Replies
2. UNIX for Dummies Questions & Answers
Hi. I have a Tru64 Unix V5.1 server that I would like to send emails using an exchange server we have on the same network as the smtp of this machine. What are the requirements/configuration that I need to do in order to make this possible. We are planning on emailing error messages and such from... (2 Replies)
Discussion started by: fidodido
2 Replies
3. Solaris
Can i send e-mail from solaris to exchange?How can i configure the solaris?thks. (1 Reply)
Discussion started by: jowvid
1 Replies
4. AIX
Hi All,
I realized now that the root email is integrated with exchange. All the email of root is now being sent also to the aliases of aixadmin or to my email.
I would like to know how is AIX integrated to exchange. What would be modified on AIX? Probably modify these files: /etc/hosts,... (0 Replies)
Discussion started by: itik
0 Replies
5. Shell Programming and Scripting
i am new in AIX i am trying to write a script to take a backup for specific files on server to and check error log if backup success send email to administrator , script done except for sending mail , i try to configure sendmail on aix to use our exchange server to send emails but still get error... (0 Replies)
Discussion started by: ahmed_salah
0 Replies
6. AIX
Please help, i can not to send email from AIX 6.1 to outside network through STMP - Exchange. Any one can help ? (1 Reply)
Discussion started by: ichsan
1 Replies
7. UNIX for Dummies Questions & Answers
Hello All,
When i use the single quotes around the variables i am getting each line in the array as seperate in the email as shown in code2 & output2. But i don't want those single quotes to be printed but each array element should be printed as seperate line as when i remove those single quotes... (1 Reply)
Discussion started by: Ariean
1 Replies
8. Linux
About 5 years ago I used to use Evolution for its ability to interact with my companies Exchange 2003 server. I was wondering what Exchange compliant email clients you are actually using with either Exchange 2007 or 2010?
FYI I've tried Thunderbird and it just sucks. (5 Replies)
Discussion started by: binary-ninja
5 Replies
9. UNIX for Dummies Questions & Answers
Hi friends,
I have written a shell script which send a report to email address everyday.
The report is generated on UNIX server every day, Generated report is sent to 25 users through cron.
All 25 users have set different screen resolution for their monitor. The email looks wel formatted for... (4 Replies)
Discussion started by: Nakul_sh
4 Replies
LEARN ABOUT PHP
intlcalendar.getdayofweektype
INTLCALENDAR.GETDAYOFWEEKTYPE(3) 1 INTLCALENDAR.GETDAYOFWEEKTYPE(3)
IntlCalendar::getDayOfWeekType - Tell whether a day is a weekday, weekend or a day that has a transition between the two
Object oriented style
SYNOPSIS
public int IntlCalendar::getDayOfWeekType (int $dayOfWeek)
DESCRIPTION
Procedural style
int intlcal_get_day_of_week_type (IntlCalendar $cal, int $dayOfWeek)
Returns whether the passed day is a weekday ( IntlCalendar::DOW_TYPE_WEEKDAY), a weekend day ( IntlCalendar::DOW_TYPE_WEEKEND), a day dur-
ing which a transition occurs into the weekend ( IntlCalendar::DOW_TYPE_WEEKEND_OFFSET) or a day during which the weekend ceases ( IntlCal-
endar::DOW_TYPE_WEEKEND_CEASE).
If the return is either IntlCalendar::DOW_TYPE_WEEKEND_OFFSET or IntlCalendar::DOW_TYPE_WEEKEND_CEASE, then IntlCalendar.getWeekendTransi-
tion(3) can be called to obtain the time of the transition.
This function requires ICU 4.4 or later.
PARAMETERS
o $cal
- The IntlCalendar resource.
o $dayOfWeek
- One of the constants IntlCalendar::DOW_SUNDAY, IntlCalendar::DOW_MONDAY, , IntlCalendar::DOW_SATURDAY.
RETURN VALUES
Returns one of the constants IntlCalendar::DOW_TYPE_WEEKDAY, IntlCalendar::DOW_TYPE_WEEKEND, IntlCalendar::DOW_TYPE_WEEKEND_OFFSET or
IntlCalendar::DOW_TYPE_WEEKEND_CEASE or FALSE on failure.
EXAMPLES
Example #1
IntlCalendar.getDayOfWeekType(3)
<?php
foreach (array('en_US', 'ar_SA') as $locale) {
echo "Locale: ", Locale::getDisplayName($locale, "en_US"), "
";
$cal = IntlCalendar::createInstance('UTC', $locale);
for ($i = IntlCalendar::DOW_SUNDAY; $i <= IntlCalendar::DOW_SATURDAY; $i++) {
echo $i, " ", $cal->getDayOfWeekType($i), " ",
$cal->getDayOfWeekType($i) >= IntlCalendar::DOW_TYPE_WEEKEND_OFFSET
? $cal->getWeekendTransition($i)
: '',
"
";
}
echo "
";
}
The above example will output:
Locale: English (United States)
1 3 86400000
2 0
3 0
4 0
5 0
6 0
7 1
Locale: Arabic (Saudi Arabia)
1 0
2 0
3 0
4 0
5 1
6 3 86400000
7 0
PHP Documentation Group INTLCALENDAR.GETDAYOFWEEKTYPE(3)