Can we run ICM Admin script every mimute ?

Hi
I have a requirement to run one Admin script every minute , does it make any overload to central controller ? . Anyone is using the same in production system?
Regards
Renni john

I concur, I have a customer with many admin scripts checking time of day every minute for different locations and this is extremely busy contact center and we have never seen any related performace issues.
Chris

Similar Messages

  • How can I run a SQL script file...

    How can I run a SQL script file from a location on my computer without providing the whole path?
    Is there some way I can set a "Working folder" in SQL Plus??
    Thanks!
    Tom

    You can create an environment variable called "SQLPATH" which is a list of directories that SQL*Plus will search for your .SQL
    scripts.
    I would like to use another directory than the oracle/bin...
    How can I do this ??
    Hello,
    U can do this by this way:
    Save odm_script.sql file to the default Oracle
    directory i.e. Oracle-Home/bin and Run following command
    through SQL Plus.
    SQL>@Script_Name
    I hope this will resolve ur problem.
    Regards,
    Omer Saeed Khan.

  • Can I run the admin and managed servers as different users?

    in unix, is it possible to run my admin and manged servers as different users with
    7.1?

    As long as users are in admin group, there could be different users starting different
    servers.
    "Frank" <[email protected]> wrote:
    >
    "Erik Johnson" <[email protected]> wrote:
    Hi, Frank.
    Could you be a little more specific about what it is you want to do?
    Thanks.
    erikUh, I'm on unix, I have Weblogic 7.0 service pack4. I have 1 managed
    server and
    I have one admin server...Can I run the admin server as user 'hithere'
    and run
    the managed server as user, 'byethere'......
    "Frank" <[email protected]> wrote:
    in unix, is it possible to run my admin and manged servers as different
    users with
    7.1?

  • ICM Admin Script to export user variables to log file

    Hi,
    Is there a easy way to export/report the values of user variables to a file in ICM 7.x?
    These are global variables set in admin scripts for open/close flags and looking to see at a glance what the values of all the variables are at a given time throughout the day without having to monitor each script/etc that uses them.
    I was looking at maybe an admin script to write the values to a text file every x hours/minutes/etc but am kind of new to ICM scripting and not seeing a step there to do this and not sure if this is possible or if there is another way.
    Have a script where supervisors can force open/close different queues for reasons (weather, etc) and trying to add way to log when a change was made for historical purposes and troubleshooting just a text file or something easy.
    Thanks, Erick

    Only three years later but in case someone else is ever looking this should get you started. First, be sure your vars are set to persistent and replicated to an HDS. You can then extract this data from the Persistent_Variable data. It will require some joins to the User_Variable data to get a nice solid query. 

  • Can you run a bash script on boot in single user mode

    Hey guys quick question.
    Is it possible to run a bash script on boot in single user mode.
    I can create a file and dump it on the root hd.
    Let's call it repair.
    I can then boot to single user mode and run it by typing /repair.
    But I want it to do it automatically.
    Every time I go into my machines that I clean for my job. I have to run sbin/fsck -fy
    Then I have to mount the drive and then remove all cache files, then reboot the machines.
    I would like to automate this by just holding command s and then moving to the next computer.
    There must be some sort of boot daemon somewhere.
    Please help.
    Sincerely,
    John

    Have you seen Applejack?
    http://applejack.sourceforge.net/
    It doesn't start automtically, but does cleanup.
    Robert

  • Can not run the calc scripts by mxl, if the first character is Number

    I found that if you create the calc scrpt like 1abc.csc. You can not run it by mxl. I tried for times but do not know the reason for that. I found that you can use number in the name of the calc scripts(like abc1.csc, a1bc.csc), but not for the first character(like 1abc.csc).
    Below is my mxl scripts:
    ×××××××××××××××××××××××××××××××××××
    login admin identified by password on localhost;
    spool on to 'C:\abc.log' ;
    execute calculation sample.basic.1abc;
    spool off;
    logout;
    ×××××××××××××××××××××××××××××××××××
    I write a bat file below:
    ×××××××××××××××××××××××××××××××××××
    D:\Hyperion\AnalyticServices\bin\essmsh C:\abc.mxl
    ×××××××××××××××××××××××××××××××××××
    I can run the scripts if I change the name "1abc" to "abc1"or "a1bc".
    Of course I can run this calc in EAS, no matter the name is "1abc" or "abc1".
    Anybody find the same problem with me?

    I agree, if ever there was a "best practice" to developing scripts (especially when using variables) it is to enclose in single quotes. I actually use double quote, single quote.
    execute calculation "'$4'"."'$5'"."'$6'";

  • Could not initialize the application's security ... Tried renaming cert8.db and secmod.db. Profile has r/w access. Still get message. Can only run as admin

    Could not initialize the application's security component. The most likely cause is problems with files in your application's profile directory. Please check that this directory has no read/write restrictions and your hard disk is not full or close to full. It is recommended that you exit the application and fix the problem. If you continue to use this session, you might see incorrect application behaviour when accessing security features.
    Above error messa4bite occurs whenever I star Firefox without admin priv. Checked the profile directory listed in troubleshoot info -- has r/w access for system, admin and self Tried renaming cert8 and secmod as suggested in one forum response. Problem persists.\
    My computer runs Win 7 Home Premium 64bit

    If deleting or otherwise removing the cert8.db and secmod.db file doesn't help then try a new profile.
    *https://support.mozilla.org/kb/Could+not+initialize+the+browser+security+component
    Create a new profile as a test to check if your current profile is causing the problems.
    See "Creating a profile":
    *https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues
    If the new profile works then you can transfer some files from an existing profile to the new profile, but be careful not to copy corrupted files.
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • How can I run a Unix script from a desktop icon?

    I have a Unix script I've created in vi and would like to run it by double clicking on an icon on my desktop. I would like to do this without the additional application layer of Applescript, Automator or Terminal. Is this possible?
    Thanks in advance.
    Howard

    Sounds like a job for platypus.

  • Can't run compiz-check script or any application ?!!!

    hi all
    I am new user in Arch .
    I am trying to install the Gpointing app so that I can set up the Cursor sensitivity in KDE but I get this:
    1st :
    ./configure >> and the result is bellow
    [yasser@(none) gpointing-device-settings-1.5.1]$ sudo ./configure
    Password:
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking how to create a pax tar archive... gnutar
    checking how to create a pax tar archive... (cached) gnutar
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking for style of include used by make... GNU
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking dependency style of gcc... gcc3
    checking dependency style of gcc... (cached) gcc3
    checking for a sed that does not truncate output... /bin/sed
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for fgrep... /usr/bin/grep -F
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for ar... ar
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking how to run the C preprocessor... gcc -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    checking for pkg-config... /usr/bin/pkg-config
    checking for gcc... (cached) gcc
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for gcc option to accept ISO C89... (cached) none needed
    checking dependency style of gcc... (cached) gcc3
    checking dependency style of gcc... (cached) gcc3
    checking how to run the C preprocessor... gcc -E
    checking whether make sets $(MAKE)... (cached) yes
    checking whether NLS is requested... yes
    checking for intltool >= 0.35.0... 0.50.2 found
    checking for intltool-update... /usr/bin/intltool-update
    checking for intltool-merge... /usr/bin/intltool-merge
    checking for intltool-extract... /usr/bin/intltool-extract
    checking for xgettext... /usr/bin/xgettext
    checking for msgmerge... /usr/bin/msgmerge
    checking for msgfmt... /usr/bin/msgfmt
    checking for gmsgfmt... /usr/bin/msgfmt
    checking for perl... /usr/bin/perl
    checking for perl >= 5.8.1... 5.16.1
    checking for XML::Parser... ok
    checking locale.h usability... yes
    checking locale.h presence... yes
    checking for locale.h... yes
    checking for LC_MESSAGES... yes
    checking libintl.h usability... yes
    checking libintl.h presence... yes
    checking for libintl.h... yes
    checking for ngettext in libc... yes
    checking for dgettext in libc... yes
    checking for bind_textdomain_codeset... yes
    checking for msgfmt... (cached) /usr/bin/msgfmt
    checking for dcgettext... yes
    checking if msgfmt accepts -c... yes
    checking for gmsgfmt... (cached) /usr/bin/msgfmt
    checking for xgettext... (cached) /usr/bin/xgettext
    checking for locale.h... (cached) yes
    checking for LC_MESSAGES... (cached) yes
    checking for libintl.h... (cached) yes
    checking for ngettext in libc... (cached) yes
    checking for dgettext in libc... (cached) yes
    checking for bind_textdomain_codeset... (cached) yes
    checking for msgfmt... (cached) /usr/bin/msgfmt
    checking for dcgettext... (cached) yes
    checking if msgfmt accepts -c... yes
    checking for gmsgfmt... (cached) /usr/bin/msgfmt
    checking for xgettext... (cached) /usr/bin/xgettext
    checking for pkg-config... (cached) /usr/bin/pkg-config
    checking for GTK+ - version >= 2.14.0... yes (version 2.24.11)
    checking for glib-genmarshal... /usr/bin/glib-genmarshal
    checking for glib-mkenums... /usr/bin/glib-mkenums
    checking pkg-config is at least version 0.9.0... yes
    checking for GNOME_SETTINGS_DAEMON... yes
    checking for GCONF2... yes
    Using config source xml:merged:/etc/gconf/gconf.xml.defaults for schema installation
    Using $(sysconfdir)/gconf/schemas as install directory for schema files
    checking for gconftool-2... /usr/bin/gconftool-2
    checking for XINPUT... yes
    checking for X11... yes
    checking for an ANSI C-conforming const... yes
    checking whether to use Cutter... (cached) auto
    checking for CUTTER... no
    checking for lcov... no
    checking for genhtml... no
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating src/Makefile
    config.status: creating modules/Makefile
    config.status: creating modules/common/Makefile
    config.status: creating modules/gnome-settings-daemon-plugins/Makefile
    config.status: creating data/Makefile
    config.status: creating data/gpointing-device-settings.desktop.in
    config.status: creating test/Makefile
    config.status: creating doc/Makefile
    config.status: creating po/Makefile.in
    config.status: creating libgpointing-device-settings.pc
    config.status: creating config.h
    config.status: config.h is unchanged
    config.status: executing depfiles commands
    config.status: executing libtool commands
    config.status: executing default-1 commands
    config.status: executing default-2 commands
    config.status: executing po/stamp-it commands
    [yasser@(none) gpointing-device-settings-1.5.1]$ make
    make all-recursive
    make[1]: Entering directory `/home/yasser/gpointing-device-settings-1.5.1'
    Making all in src
    make[2]: Entering directory `/home/yasser/gpointing-device-settings-1.5.1/src'
    CCLD gpointing-device-settings
    /usr/bin/ld: cannot open output file .libs/gpointing-device-settings: Permission denied
    collect2: error: ld returned 1 exit status
    make[2]: *** [gpointing-device-settings] Error 1
    make[2]: Leaving directory `/home/yasser/gpointing-device-settings-1.5.1/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/yasser/gpointing-device-settings-1.5.1'
    make: *** [all] Error 2
    [yasser@(none) gpointing-device-settings-1.5.1]$ make install
    Making install in src
    make[1]: Entering directory `/home/yasser/gpointing-device-settings-1.5.1/src'
    CCLD gpointing-device-settings
    /usr/bin/ld: cannot open output file .libs/gpointing-device-settings: Permission denied
    collect2: error: ld returned 1 exit status
    make[1]: *** [gpointing-device-settings] Error 1
    make[1]: Leaving directory `/home/yasser/gpointing-device-settings-1.5.1/src'
    make: *** [install-recursive] Error 1
    [yasser@(none) gpointing-device-settings-1.5.1]$ ?????
    bash: ?????: command not found
    [yasser@(none) gpointing-device-settings-1.5.1]$ clear
    [yasser@(none) gpointing-device-settings-1.5.1]$ ./configure
    ./configure: line 2100: config.log: Permission denied
    ./configure: line 2110: config.log: Permission denied
    [yasser@(none) gpointing-device-settings-1.5.1]$ sudo ./configure
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking how to create a pax tar archive... gnutar
    checking how to create a pax tar archive... (cached) gnutar
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking for style of include used by make... GNU
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking dependency style of gcc... gcc3
    checking dependency style of gcc... (cached) gcc3
    checking for a sed that does not truncate output... /bin/sed
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for fgrep... /usr/bin/grep -F
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for ar... ar
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking how to run the C preprocessor... gcc -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    checking for pkg-config... /usr/bin/pkg-config
    checking for gcc... (cached) gcc
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for gcc option to accept ISO C89... (cached) none needed
    checking dependency style of gcc... (cached) gcc3
    checking dependency style of gcc... (cached) gcc3
    checking how to run the C preprocessor... gcc -E
    checking whether make sets $(MAKE)... (cached) yes
    checking whether NLS is requested... yes
    checking for intltool >= 0.35.0... 0.50.2 found
    checking for intltool-update... /usr/bin/intltool-update
    checking for intltool-merge... /usr/bin/intltool-merge
    checking for intltool-extract... /usr/bin/intltool-extract
    checking for xgettext... /usr/bin/xgettext
    checking for msgmerge... /usr/bin/msgmerge
    checking for msgfmt... /usr/bin/msgfmt
    checking for gmsgfmt... /usr/bin/msgfmt
    checking for perl... /usr/bin/perl
    checking for perl >= 5.8.1... 5.16.1
    checking for XML::Parser... ok
    checking locale.h usability... yes
    checking locale.h presence... yes
    checking for locale.h... yes
    checking for LC_MESSAGES... yes
    checking libintl.h usability... yes
    checking libintl.h presence... yes
    checking for libintl.h... yes
    checking for ngettext in libc... yes
    checking for dgettext in libc... yes
    checking for bind_textdomain_codeset... yes
    checking for msgfmt... (cached) /usr/bin/msgfmt
    checking for dcgettext... yes
    checking if msgfmt accepts -c... yes
    checking for gmsgfmt... (cached) /usr/bin/msgfmt
    checking for xgettext... (cached) /usr/bin/xgettext
    checking for locale.h... (cached) yes
    checking for LC_MESSAGES... (cached) yes
    checking for libintl.h... (cached) yes
    checking for ngettext in libc... (cached) yes
    checking for dgettext in libc... (cached) yes
    checking for bind_textdomain_codeset... (cached) yes
    checking for msgfmt... (cached) /usr/bin/msgfmt
    checking for dcgettext... (cached) yes
    checking if msgfmt accepts -c... yes
    checking for gmsgfmt... (cached) /usr/bin/msgfmt
    checking for xgettext... (cached) /usr/bin/xgettext
    checking for pkg-config... (cached) /usr/bin/pkg-config
    checking for GTK+ - version >= 2.14.0... yes (version 2.24.11)
    checking for glib-genmarshal... /usr/bin/glib-genmarshal
    checking for glib-mkenums... /usr/bin/glib-mkenums
    checking pkg-config is at least version 0.9.0... yes
    checking for GNOME_SETTINGS_DAEMON... yes
    checking for GCONF2... yes
    Using config source xml:merged:/etc/gconf/gconf.xml.defaults for schema installation
    Using $(sysconfdir)/gconf/schemas as install directory for schema files
    checking for gconftool-2... /usr/bin/gconftool-2
    checking for XINPUT... yes
    checking for X11... yes
    checking for an ANSI C-conforming const... yes
    checking whether to use Cutter... (cached) auto
    checking for CUTTER... no
    checking for lcov... no
    checking for genhtml... no
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating src/Makefile
    config.status: creating modules/Makefile
    config.status: creating modules/common/Makefile
    config.status: creating modules/gnome-settings-daemon-plugins/Makefile
    config.status: creating data/Makefile
    config.status: creating data/gpointing-device-settings.desktop.in
    config.status: creating test/Makefile
    config.status: creating doc/Makefile
    config.status: creating po/Makefile.in
    config.status: creating libgpointing-device-settings.pc
    config.status: creating config.h
    config.status: config.h is unchanged
    config.status: executing depfiles commands
    config.status: executing libtool commands
    config.status: executing default-1 commands
    config.status: executing default-2 commands
    config.status: executing po/stamp-it commands.
    2nd >>> make .
    [yasser@(none) gpointing-device-settings-1.5.1]$ make
    make all-recursive
    make[1]: Entering directory `/home/yasser/gpointing-device-settings-1.5.1'
    Making all in src
    make[2]: Entering directory `/home/yasser/gpointing-device-settings-1.5.1/src'
    CCLD gpointing-device-settings
    /usr/bin/ld: cannot open output file .libs/gpointing-device-settings: Permission denied
    collect2: error: ld returned 1 exit status
    make[2]: *** [gpointing-device-settings] Error 1
    make[2]: Leaving directory `/home/yasser/gpointing-device-settings-1.5.1/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/yasser/gpointing-device-settings-1.5.1'
    make: *** [all] Error 2.
    3rd >> make install
    [yasser@(none) gpointing-device-settings-1.5.1]$ make install
    Making install in src
    make[1]: Entering directory `/home/yasser/gpointing-device-settings-1.5.1/src'
    CCLD gpointing-device-settings
    /usr/bin/ld: cannot open output file .libs/gpointing-device-settings: Permission denied
    collect2: error: ld returned 1 exit status
    make[1]: *** [gpointing-device-settings] Error 1
    make[1]: Leaving directory `/home/yasser/gpointing-device-settings-1.5.1/src'
    make: *** [install-recursive] Error 1.
    I know this problem might be a silly problem for u guys but I really need to decrease the Cursor sensitivity because it's annoying .
    Moderator edit: Changed the [ quote ] tags to [ code ] ones for you to keep this readable. Please do so yourself in future. -- bernarcher
    Last edited by bernarcher (2012-09-02 16:44:51)

    I don't think you need to compile and install this yourself as it appears to already be in the AUR. You should download an AUR helper and use it to install gpointing-device-settings.
    Example using packer:
    sudo pacman -S wget # wget is for downloading packer, you can download it manually if you'd like
    mkdir ~/builds # Where you want to put packer's files, change if you'd like
    cd ~/builds
    wget http://aur.archlinux.org/packages/pa/packer/packer.tar.gz
    makepkg -s # Make sure you have the base-devel group installed
    sudo pacman -U packer
    packer -S gpointing-device-settings
    If this solves the problem, remember to edit your original post and add [Solved] to the beginning of the title.
    Last edited by Mindstormscreator (2012-09-02 18:52:08)

  • Can we run a unix script from sql plus

    Hello,
    Is there any possibility to run unix command from sql plus? I would appreciate if you can provide with the syntax.
    Thank You
    KK

    user539616 wrote:
    Hello,
    Is there any possibility to run unix command from sql plus? I would appreciate if you can provide with the syntax.
    Thank You
    KKWithin sqlplus you can run
    1) SQL statements
    2) PL/SQL blocks
    3) any valid sqlplus command.
    SQLplus commands are documented in the SQLPlus reference manual. For 10g this is found at http://docs.oracle.com/cd/B19306_01/server.102/b14357/toc.htm. You might be interested in the HOST command, detailed at http://docs.oracle.com/cd/B19306_01/server.102/b14357/ch12026.htm#sthref2314
    Just beware that the HOST command (or the shortcut version of it alluded to by Warren Tolentino) spawns a child process. When control comes back to sqlplus, that child process is gone.
    What is the business problem you are trying to solve? If we knew that we could probably give better advice than blindly giving you the correct technical answer to a narrow question.

  • Can AppleScript run a FixAlias script?

    I have a large folder of pictures on a memory stick - the original folder on my HD also has a folder with a few hundred aliases for some of the pictures, which originally I didn't copy because I thought (mistakenly) there wouldn't be room.
    Later I copied the alias folder to the memory stick, but despite the files having the same name, the Apple OS isn't smart enough to simply do a 'fix alias' automatically by assigning the alias (which points to a file on the HD) to the identical filename on the memory stick.
    Is there an AppleScript which will do this? (I don't want to have to Fix Alias of 500 files in a folder of 4000+ items).

    Hello
    Try something like this.
    If the alias files in question are valid aliases (i.e. not broken) just pointing to original items in HD, this sort of script may help.
    Good luck,
    H
    -- SCRIPT
      redirect alias files
      v0.2
      This script will redirect alias files in specified folder such that each original item is reassigend by replacing
       its partial leading path given in property 'path1' with the partial path given in property 'path2'.
      (Meanwhile any broken aliases of which original items are not found will be moved to '_broken_' folder and
      any aliases of which assumed reassigned original items are not found will be moved to '_failed_' folder.
      And aliases of which original items' path do not start with path given in property 'path1' will remain as they are.)
      Usage:
        Change properties path1 and path2 to suit your needs and run the script, and it will
         let you choose a folder where alias files to be redirected reside.
        E.g.
        Provided original folders are:
          (1) HD:Users:[user_name]:Documents:Pictures:
          (2) HD:Users:[user_name]:Documents:Pictures:Aliases:  -- (this is irrelevant here)
        and copied folders are:
          (1a) ExtDisk:Pictures:
          (2a) ExtDisk:Pictures:Aliases:  -- (this is assumed to contain 'wrong' alias files pointing to items in (1))
        Then set:
          property path1 : "HD:Users:[user_name]:Documents:Pictures:"
          property path2 : "ExtDisk:Pictures:"
        and in choose folder prompt, choose folder:
          "ExtDisk:Pictures:Aliases:"
    main()
    on main()
    script o
    property path1 : "RAM Disk:test1:" -- searching leading partial path of original item of alias file.
    property path2 : "RAM Disk:test2:" -- replacing leading partial path of original item of alias file.
    property aa : {} -- list of original alias files.
    property aa1 : {} -- list of broken alias files of which original items are not found.
    property aa2 : {} -- list of failed alias files of which assumed reassigned original items are not found.
    property aa3 : {} -- list of reassigend alias files.
    property nn : {} -- list of name of original alias files.
    property xx : {} -- list of original items of aa
    property yy : {} -- list of reassigned orignal items of aa
    property brokenFdn : "_broken_" -- folder name for aa1.
    property failedFdn : "_failed_" -- folder name for aa2.
    property mss1 : "Choose folder of alias files to be redirected."
    property mss2 : "Alias redirection done."
    on reassign(a)
      alias a
      property path1 -- searching leading partial path
      property path2 -- replacing leading partial path
      return either alias or false:
        alias a : original alias if no path substitution applied.
        alias a1 : reassigend alias created by a's leading partial path 'path1' being replaced by 'path2'
        false : reassignment failed, i.e. assumed reassigned object not found
    local p
    if a's class is not alias then return a
    set p to "" & a
    if p starts with path1 then
    set p to path2 & (p's text ((path1's length) + 1) thru -1)
    try
    return (p as alias)
    on error -- assumed reassigned object not found
    return false
    end try
    else
    return a
    end if
    end reassign
    -- (0) accept folder of alias files
    set fda to choose folder with prompt mss1
    -- (1) get list of alias files, their name and original items
    tell application "Finder"
    tell item fda's alias files
    try
    set aa to it as alias list
    on error
    set aa to it as alias as list
    end try
    set nn to name as list
    try
    if (count my aa) = 1 then
    set xx to original item as alias as list
    else
    set xx to original item as alias list
    end if
    on error number -1700 -- some alias file(s) broken
    repeat with a in my aa
    set a to a's contents
    try
    set end of my xx to a's original item as alias
    on error -- broken alias file
    set end of my xx to null
    end try
    end repeat
    end try
    end tell
    end tell
    -- (2) reassign original items
    repeat with x in my xx
    set end of yy to reassign(x's contents)
    end repeat
    -- (3) sort out original alias files and create new ones if necessary
    repeat with i from 1 to count my aa
    set yi to my yy's item i
    if yi is null then -- broken
    set end of my aa1 to my aa's item i
    else if yi is false then -- failed, i.e. assumed reassigned original item not found
    set end of my aa2 to my aa's item i
    else if yi is not my xx's item i then -- reassigned
    set end of my aa3 to my aa's item i
    end if
    end repeat
    if my aa1 is not {} then
    try
    set fda1 to ("" & fda & brokenFdn & ":") as alias
    on error
    tell application "Finder" to ¬
    set fda1 to (make new folder at fda with properties {name:brokenFdn}) as alias
    end try
    tell application "Finder" to move aa1 to fda1
    end if
    if my aa2 is not {} then
    try
    set fda2 to ("" & fda & failedFdn & ":") as alias
    on error
    tell application "Finder" to ¬
    set fda2 to (make new folder at fda with properties {name:failedFdn}) as alias
    end try
    tell application "Finder" to move aa2 to fda2
    end if
    if my aa3 is not {} then
    tell application "Finder" to delete aa3
    -- recreate alias files
    repeat with i from 1 to count my aa
    if (my aa's item i) is in my aa3 then
    tell application "Finder"
    make new alias file at fda to (my yy's item i) with properties {name:my nn's item i}
    end tell
    end if
    end repeat
    end if
    -- (4) post-processings: empty trash (optional) and decent notice
    tell application "Finder"
    --empty trash
    activate
    display dialog mss2 with icon 1 giving up after 5
    end tell
    end script
    tell o to run
    end main
    -- END OF SCRIPT
      Mac OS 9.1.x  

  • Can I run a shell script from the services menu?, part II

    Remember this?
    It is now possible.

    Doesn't look like there is a direct way to do it.
    The services are all Bundles, which is easy
    enough to fake -- just copy one from /Library/Services
    to ~/Services and modify the plist. Put your shell
    script in Contents/MacOS/ and identify it in the
    plist under CFBundleExecutable and hope for the
    best
    Where it gets sticky is CFBundlePackageType (APPL
    for Application, FMWK for FrameWork, BNDL for
    'loadable bundle', whatever that is] and NSServices.
    CFBundlePackageType should pose no problem if Services
    use the OS loader and handles file magic [and '#!' of
    course].
    NSServices specifies a named port that the app
    listens on, the data type it receives, and so forth.
    This looks a bit harder to fake. I'd bet Applescript
    has the functionality, and there may be some
    command-line hooks to backend that, or it may be
    possible to netcat your way through it.
    But it doesn't look trivial
    Property List Key Reference
    Anyways, tried it with a quick script that echoes to a
    file, and haven't figured out how to refresh the
    Services menu to get it to appear. Probably have
    to NetInfo it or something ridiculous; doesn't appear
    to watch the FS.
    [ Edited by Apple Discussions Moderator; href URL ]

  • Can I run a shell script from the Services menu?

    This would be kind of cool.
    Is there a simple way to do this?

    Doesn't look like there is a direct way to do it.
    The services are all Bundles, which is easy
    enough to fake -- just copy one from /Library/Services
    to ~/Services and modify the plist. Put your shell
    script in Contents/MacOS/ and identify it in the
    plist under CFBundleExecutable and hope for the
    best
    Where it gets sticky is CFBundlePackageType (APPL
    for Application, FMWK for FrameWork, BNDL for
    'loadable bundle', whatever that is] and NSServices.
    CFBundlePackageType should pose no problem if Services
    use the OS loader and handles file magic [and '#!' of
    course].
    NSServices specifies a named port that the app
    listens on, the data type it receives, and so forth.
    This looks a bit harder to fake. I'd bet Applescript
    has the functionality, and there may be some
    command-line hooks to backend that, or it may be
    possible to netcat your way through it.
    But it doesn't look trivial
    Property List Key Reference
    Anyways, tried it with a quick script that echoes to a
    file, and haven't figured out how to refresh the
    Services menu to get it to appear. Probably have
    to NetInfo it or something ridiculous; doesn't appear
    to watch the FS.
    [ Edited by Apple Discussions Moderator; href URL ]

  • Running a Unix script from a Java class

    I am trying to use SCP (Secure copy) to copy an xml file from my J2EE application to a remote Unix server using a Unix script. How can I run the Unix script from my Java class? I could not find any resource for this on the internet. Can someone help me with this please.
    Thanks

    I am trying this below program ,but i am getting the error please help me
    import com.jcraft.jsch.*;
    import com.jcraft.jsch.Channel;
    import com.jcraft.jsch.JSch;
    //import com.jcraft.jsch.JSchException;
    import com.jcraft.jsch.Session;
    //import com.jcraft.jsch.UserInfo;
    import java.io.*;
    public class testrad {
    public static void main(String args[])
    String user="usertvr";
    String host="5.34.12.1";
    String cmd="ls -l";
    JSch jsch = new JSch();
    try{
    Session session=jsch.getSession(user,host,22);
    session.setPassword("$yhaj23");
    //UserInfo usrInfo=new MyUserInfo();
    //session.setUserInfo(usrInfo);
    session.connect();
    Channel channel=session.openChannel("exec");
    ((ChannelExec) channel).setCommand(cmd);
    channel.setXForwarding(true);
    channel.connect();
    //code
    channel.setInputStream(System.in);
    // channel.setOutputStream(System.out);
    //((ChannelExec) channel).setErrStream(System.err);
    InputStream in = channel.getInputStream();
    channel.connect();
    byte[] tmp = new byte[1024];
    while (true)
    while (in.available() > 0)
    int i = in.read(tmp, 0, 1024);
    if (i < 0)
    break;
    System.out.print(new String(tmp, 0, i));
    if (channel.isClosed())
    in.close();
    // System.out.println("JSCH: exit-status: " +
    //channel.getExitStatus());
    break;
    try
    Thread.sleep(1000);
    catch (Exception ee)
    channel.disconnect();
    session.disconnect();
    }catch(Exception e)
    {e.printStackTrace();
    System.out.println("Exception"+e);}
    /*public static class MyUserInfo implements UserInfo {
    public String getPassword()
    { return "password"; }
    public String getPassphrase()
    { return ""; }
    public boolean promptPassword(String arg0)
    { return true; }
    public boolean promptPassphrase(String arg0)
    { return true; }
    public boolean promptYesNo(String arg0)
    { return true; }
    public void showMessage(String arg0)
    Here is the error
    com.jcraft.jsch.JSchException: UnknownHostKey: 5.128.0.10. RSA key fingerprint is 02:a0:d6:c0:6f:69:2c:a9:a7:fa:7c:71:1c:60:ed:57
         at com.jcraft.jsch.Session.checkHost(Unknown Source)
         at com.jcraft.jsch.Session.connect(Unknown Source)
         at com.jcraft.jsch.Session.connect(Unknown Source)
         at testrad.main(testrad.java:23)
    Exceptioncom.jcraft.jsch.JSchException: UnknownHostKey: 5.128.0.10. RSA key fingerprint is 02:a0:d6:c0:6f:69:2c:a9:a7:fa:7c:71:1c:60:ed:57
    Can some one help me please.
    I running this program from Windows to connect to remote unix boxes.

  • Run a UNIX Script from java

    Hi,
    how can i run a unix script from java application. This java application is on windows.
    How can i do this.
    thanks,

    Hi,
    how can i run a unix script from java application.
    This java application is on windows.
    So I think it's safe to assume that the target script is on a remote unix server.
    Take a look at http://sourceforge.net/projects/sshtools/

Maybe you are looking for

  • Status profiles for sales order

    Dear all:   I use  status profiles to do sales order approve(BS02) who can tell me which business transaction can settle Sales Order can or not make to MD04? the standard business transcation: Acct. assignment order/project Activate final billing doc

  • Opening an .eps in Photoshop - strange white areas around image?

    Hi all, I created a vector image in Illustrator, saved it as an .eps, and then opened it in Photoshop. It has a strange white background, any idea why it's there and how I can get rid of it? Here a screenshot: http://dl.dropbox.com/u/4457768/image.pn

  • How can we disable user to login Hyperion Workspace

    We understand we can set to admin mode for Hyperion Planning so that only administrator can login the system. Any other ways to disable users to login Hyperion Workspace? We are using Hyperion version 11.1.1.1 Thanks a lot!

  • Promoting APEX... Can you do it?

    As a consultant I see a lot of customers... what have this to do with APEX? Well, most of my missions are not APEX related, but for one or an other reason, on 9 out of 10 the customer is using APEX when I'm leaving! ;-) As the same happened with my c

  • 10.9.3

    just Dl 10.9.3 and when I opened my macintosh hd on my desktop, no more little house with my name. Only apps, library and system. A new feature or what ?