Sponsored Content
Operating Systems Linux Script under rc3.d not being executed on server bootup Post 302343449 by Padow on Wednesday 12th of August 2009 01:27:20 PM
Old 08-12-2009
yeah, just add

Code:
echo script ran at `date` > /tmp/script.out

to your script
Padow
 

7 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

bootup script

Hello there I need to run a script whenever i reboot or startup my HP-UX server. This script adds some routes to the route table, and it start third party aplications like "Star Manager". I thought i could do this simply putting the script in "/sbin/init.d, and a link to the script in... (7 Replies)
Discussion started by: vascobrito
7 Replies

2. AIX

AIX server freezes on bootup

Issue: AIX server freezes on bootup. Server AIX ver 4.3.3.0 When the AIX server reboots it negotiates NIS. During startup of NFS, customer gets one or more of the following error messages: 0513-056 Timeout waiting for command response. If you specified a foreign host, see the /etc/inittab file... (1 Reply)
Discussion started by: srzaman1
1 Replies

3. Linux

Script under rc3.d Vs rc.local

Which of the following gets executed first? script under rc3.d Vs script under rc.local I was under impression that rc3.d has higher precedence over rc.local. Somehow it looks like the script under rc.local got executed first than the one under rc3.d. I had to manually start them in order... (7 Replies)
Discussion started by: hemangjani
7 Replies

4. AIX

Script not getting executed via cron but executes when executed manually.

Hi Script not getting executed via cron but executes successfully when executed manually. Please assist cbspsap01(appuser) /app/scripts > cat restart.sh #!/bin/ksh cd /app/bin date >>logfile.out echo "Restart has been started....." >>logfile.out date >>logfile.out initfnsw -y restart... (3 Replies)
Discussion started by: samsungsamsung
3 Replies

5. UNIX for Dummies Questions & Answers

List commands executed on a server

Hi All, how to list all the commands executed by users on a linux server.... I dont have access to others .bash_history. and i am not root user.. Please help.. Thanks in advance.. (6 Replies)
Discussion started by: nanz143
6 Replies

6. AIX

Automatic Server bootup after power outage?

Hi everyone, We had a power outage few days ago, and I got the servers up and running but I was informed to look into, if there is a way to bring up the servers automatically/defaultly. I was told the windows admin has their server set up where the servers are up automatically if there is a... (11 Replies)
Discussion started by: Adnans2k
11 Replies

7. Solaris

When were all scripts on the Solaris server last executed?

Hi All, I am new to this forum and I am hoping someone will be able to help me:) I have inherited a very old Solaris server that has a number of scripts around 500 in total. I need to migrate the scripts to Linux but I would like to know which ones are currently being executed rather... (10 Replies)
Discussion started by: josamy
10 Replies
LOCALE_GET_DISPLAY_SCRIPT(3)						 1					      LOCALE_GET_DISPLAY_SCRIPT(3)

Locale::getDisplayScript - Returns an appropriately localized display name for script of the input locale

	Object oriented style

SYNOPSIS
publicstatic string Locale::getDisplayScript (string $locale, [string $in_locale]) DESCRIPTION
Procedural style string locale_get_display_script (string $locale, [string $in_locale]) Returns an appropriately localized display name for script of the input locale. If is NULL then the default locale is used. PARAMETERS
o $locale - The locale to return a display script for o $in_locale - Optional format locale to use to display the script name RETURN VALUES
Display name of the script for the $locale in the format appropriate for $in_locale. EXAMPLES
Example #1 locale_get_display_script(3) example <?php echo locale_get_display_script('sl-Latn-IT-nedis', 'en'); echo "; "; echo locale_get_display_script('sl-Latn-IT-nedis', 'fr'); echo "; "; echo locale_get_display_script('sl-Latn-IT-nedis', 'de'); ?> Example #2 OO example <?php echo Locale::getDisplayScript('sl-Latn-IT-nedis', 'en'); echo "; "; echo Locale::getDisplayScript('sl-Latn-IT-nedis', 'fr'); echo "; "; echo Locale::getDisplayScript('sl-Latn-IT-nedis', 'de'); ?> The above example will output: Latin; latin; Lateinisch SEE ALSO
locale_get_display_name(3), locale_get_display_language(3), locale_get_display_region(3), locale_get_display_variant(3). PHP Documentation Group LOCALE_GET_DISPLAY_SCRIPT(3)
All times are GMT -4. The time now is 04:06 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy