02-01-2019
I am not keen to take on a “move to another data center” project anytime soon.
Maybe I will wait a week or so and try talking to their management again!
6 More Discussions You Might Find Interesting
1. HP-UX
What are the server requirements, Software requirements, Network requirements etc,
Please help me.. as 'm new 'm unable to get things done @ my end alone.
Please refrain from typing subjects completely in upper case letters to get more attention, ty. (5 Replies)
Discussion started by: Sounddappan
5 Replies
2. Infrastructure Monitoring
Hi guys . While installing the agent on an asset Solaris system:
root@system: /var/tmp/OC $ /opt/SUNWxvmoc/bin/agentadm configure -u root -p /var/tmp/OC/mypasswd -x 172.21.16.65
agentadm: Version 12.1.2.2161 launched with args: configure -u root -p /var/tmp/OC/mypasswd -x 172.21.16.65
Validating... (3 Replies)
Discussion started by: Junaid Subhani
3 Replies
3. Solaris
Ok got a strange one here. None of my user accounts are able to login into the system. When trying to ssh to the server i get the following.
Could not chdir to home directory /home/<homedir>: Permission denied
/bin/sh: Permission denied
I checked the permissions on the home directory and even... (7 Replies)
Discussion started by: JoeDirte
7 Replies
4. Shell Programming and Scripting
Hi,
Please, i have a history of the state of each node in my data center. an history about the failure of my cluster (UN: node up, DN: node down).
Here is some lines of the history:
08:51:36 UN 127.0.0.1 08:51:36 UN 127.0.0.2 08:51:36 UN 127.0.0.3 08:53:50 DN 127.0.0.1 ... (6 Replies)
Discussion started by: chercheur111
6 Replies
5. What is on Your Mind?
Three days ago we received an expected notice from our long time data center that they were going dark on Sept 12th.
About one and a half hours ago, after three days of marathon work, I just cut over the unix.com to a new data center with a completely new OS and Ubuntu distribution. (22 Replies)
Discussion started by: Neo
22 Replies
6. What is on Your Mind?
There was a problem with our data center today, creating a site outage (server unreachable).
That problem has been resolved.
Basically, it seems to have been a socially engineered denial-of-service attack against UNIX.com; which I stopped as soon as I found out what the problem was.
Total... (2 Replies)
Discussion started by: Neo
2 Replies
LEARN ABOUT PHP
intlcalendar.setfirstdayofweek
INTLCALENDAR.SETFIRSTDAYOFWEEK(3) 1 INTLCALENDAR.SETFIRSTDAYOFWEEK(3)
IntlCalendar::setFirstDayOfWeek - Set the day on which the week is deemed to start
Object oriented style
SYNOPSIS
public bool IntlCalendar::setFirstDayOfWeek (int $dayOfWeek)
DESCRIPTION
Procedural style
bool intlcal_set_first_day_of_week (IntlCalendar $cal, int $dayOfWeek)
Defines the day of week deemed to start the week. This affects the behavior of fields that depend on the concept of week start and end
such as IntlCalendar::FIELD_WEEK_OF_YEAR and IntlCalendar::FIELD_YEAR_WOY.
PARAMETERS
o $cal
- The IntlCalendar resource.
o $dayOfWeek
- One of the constants IntlCalendar::DOW_SUNDAY, IntlCalendar::DOW_MONDAY, , IntlCalendar::DOW_SATURDAY.
RETURN VALUES
Returns TRUE on success. Failure can only happen due to invalid parameters.
EXAMPLES
Example #1
IntlCalendar.setFirstDayOfWeek(3)
<?php
ini_set('date.timezone', 'Europe/Lisbon');
ini_set('intl.default_locale', 'es_ES');
$cal = IntlCalendar::createInstance();
$cal->set(2013, 5 /* June */, 30); // A Sunday
var_dump($cal->getFirstDayOfWeek()); // 2 (Monday)
echo IntlDateFormatter::formatObject($cal, <<<EOD
week of month : 'W'
week of year : 'ww
EOD
), "
";
$cal->setFirstDayOfWeek(IntlCalendar::DOW_SUNDAY);
echo IntlDateFormatter::formatObject($cal, <<<EOD
week of month : 'W'
week of year : 'ww
EOD
), "
";
The above example will output:
int(2)
local day of week: 7
week of month : 4
week of year : 26
local day of week: 1
week of month : 5
week of year : 27
PHP Documentation Group INTLCALENDAR.SETFIRSTDAYOFWEEK(3)