Automated ESSCMD script for logout

This might sound like a weird question but I would like to know if it is possible to write an automated script in ESSCMD that logs out a specific user after loging out? We have done some @XREF functions in our trial db and for some reason the db leaves several connections open after logout. I know it would be wise to fix the problem with the script that causes the open connections, but until we figure out how to do that I would like to examine other possibilities to fix the problem. The Essbase version is 6.1.Any info regarding this matter will be very much appreciated.

Its default functions are things that users already do with the App. How this helps anyone is beyond me. The scripts appear to be suggestive in nature - just placeholders "for what the software could do". Yawn.
I need real world solutions not placeholder scripts. I cant believe Apple doesnt supply a solution - its simply obnoxious to ask users who have 5-100 mail folders to go:
1. select Mailbox
2. select Mailbox menu
3. choose Rebuild
Guess Im going to have to sit down with Automator or Applescript, bummer....

Similar Messages

  • Automated Unix Script For Registering Artifacts In OER

    Hi,
    i want to create automated unix script which will register the artifacts automatically in Oracle Enterprise Repository (OER)
    is it possible to automatically harvest the artifacts in OER.
    please help
    regards,
    yshintre

    Some of what you want is possible. Take a look at the Count Tool in CS3/4. It may only be available in the Extended versions. That provides a
    reasonable interface for marking items in a image like you are wanting to do with cells. Take a look at that and see what kind of manual process
    you can get worked out.
    However, to get the workflow you want (or anything close to it) would require more than a little code.

  • Run an Automator application / script at logout?

    I think the answer here is very simple, but after several searches, I can't seem to find the specifice answer:
    I've created a very simple Automator app as a backup utility for some of my clients: get specified finder items and copy finder items with "replace existing files" option turned on.
    I'd like this application to run automatically every time the user logs out (after all user-launched apps have quit).
    I'm guessing I could easily script it, but some of the references I've found are a bit old and I'm not sure if they still work. I'd need something that's a good step-by-step (ie for dummies) since command line scripting isn't one of my stronger points.
    Too bad there's no longer the old "shutdown items" folder....
    Thanks!

    save your workflow as an ical plugin, this will automatically insert the workflow into ical,and create a workflow category for it, then just set to repeat every 5 minutes, or save as an APP and use a program called CRONIX (freeware) to run the schedule.

  • [Solved]Automating a script for a usb device on systemd?

    Solution:See 3rd post by 65kid.
       Ok I'm trying to learn how to automate the execution of a script I wrote to run whenever a specific usb device is plugged in. In this case a usb flash drive with a specific partition identified though UUID following the path /dev/disk/by-uuid/specified-partion's-uuid.
       Basically the script uses rsync to update a snapshot of my system which I made bootable on this device. following the guide given in the wiki on full system backup using rsync I edited the --exclude options to ignore the contents of my /boot/ /etc/fstab and /etc/mkinitcpio.conf since the fstab entries, hooks array and initramfs and kernel images generated with them needed to be changed so as to make this snapshot bootable and adapted for use on the usb stick.
    the ultimate goal is to have a bootable snapshot the can be updated with whatever changes have been made with my system(i.e. pacman -Syu updates,config changes etc...) while leaving out the important things needed to have the usb still bootable afterwards. I've already succeeded at getting the script to work but I have to mount it manually then execute the script myself and I know that it works afterwards as I can still boot from the stick afterwards.
       This is not a question about rsync (which is why the script isn't posted here), to repeat myself, It's about how to execute ANY custom script whenever a specific device is plugged in. More specifically when a storage device with a certain uuid is detected after the device has been plugged in. I believe it may be different for running pure systemd and so that was the reasoning for having it mentioned in the subjects title(if I'm wrong then correct my understanding). If anything a few pointers on where to look would be appreciated. I've been googling and reading the wiki a bit with nothing specific on how to approach this. If an example of the script is requested I'll post it but it's not relevent to my question.
       For a general veiw of my setup regarding external storage volumes I do not automount anything as I do not use all the things I plug in in the same manner. Some of the stuff I do requires them to be unmounted or  mounted to different mount points(specified by me). The script handles the mounting part by itself just fine. The idea I have is to run it automatically when the flash drive is present. Any suggestions?
    Last edited by Thme (2012-12-29 00:06:56)

    Awebb wrote:You "seem to remember" has FUD potential, could you care to find the post again?
    he is probably referring to this: https://bbs.archlinux.org/viewtopic.php … 2#p1113682
    imho this is way different, the SYSTEMD_WANTS tag is completely ok to use. yes, he may be mounting the drive from the script, but imho he is not "exploiting" anything here. I personally don't see a much more elegant way to do this.
    these automount udev rules were however crappy and hackish. They were created by people who are like "but udisks is bloat!!1!" and whoever wrote them didn't really seem to know what he was doing because, for example, unmounting a device after it was unplugged from the system is completely non-sense.

  • Script for Automator to reorder text in file/folder name.

    I have a folder full of pictures named by their first and last names. I need them to be renamed by listing them by last name first, first name last in order to get them alphabatized properly. Anybody out there have a nice Automator script for me to make this happen? I'm new.
    Looking for it to look like this:
    Brown, John

    Try this (should work for "John H Smith" --> "Smith John H" as well):
    The Run Shell Script Action is:
    for f in "$@"
    do
        basename=${f##*/}
        path=${f%/*}
        ext=${f##*.}
        name=${basename%.*}
        if [[ "$name" =~ \  ]]; then
            fname=${name% *}
            lname=${name##* }
            name="$lname $fname"
            mv "$f" "$path/$name.$ext"
        fi
    done
    If you want a comma, then change: name="$lname $fname" to name="$lname, $fname"
    As with all scripts, back-up the files before running

  • About shell scripts for large-scale automation of  encoding tasks

    in the user menu of Compressor, it said that we can use the command line to write shell scripts for large-scale automation of encoding tasks.
    I would like to have more information about the shell script for compressor, is that any document link?
    Thanks

    You can use a script function to set-up a more secure environment that you call at the start of every admin script. This could be your main stamp album for stuff that can be moved there.
    A few more stamps to add to the collection (be sure to read up on them before use):
    1) reset the command hash
    hash -r
    2) prevent core dumps
    ulimit -H -c0
    3) set the IFS
    4) clear all aliases  (see unalias -a)
    Also you can remove the ALL from sudo and add explicit commands to the the sudoers file. There's a lot of fine tuning you can do in sudoers - inc. env variables as teekay said.
    But I'm no expert so best to check all of the above.

  • Spotlight automator script for dupes?

    i suppose what i'm looking for is a script for spotlight that will identify duplicates on my hard drive with the exact same name and either delete them for me, or give me an easier way to delete them myself (besides weeding through each mp3 and deleting whatever comes up twice). i posted earlier about how when i migrated to my new computer last summer i inadvertantly made two copies of all my mp3s and i'd like to delete the duplicates.
    any info would be greatly appreciated.
    best,
    doug

    Hi there,
    I would have a look at this it may help.
    http://www.apple.com/downloads/macosx/systemdiskutilities/tidyup.html
    Regards
    Ric

  • Test scripts for oracle applications using qtp testing tool

    hi
    i want some test scripts for oracle applications using qtp testing tool
    regards

    You will need to create separate scripts for Load testing. The functional scripts cannot be used in OLT. The exceptions to this would be the "General" items (Java Code Script & Web Services) which can also be used in OLT.
    e.g. Instead of selecting "Functional Testing - Oracle EBS/Forms"
    select "Load Testing (Protocol Automation) - Oracle EBS/Forms"
    Once you get into load testing you'll realise that you want to create very specific scripts and won't want to try re-using functional scripts. I know a lot of such tools are 'sold' on the fact that functional scripts can be re-used for load, but when it comes down to it you'll want to design your load scripts seperately anyway!

  • Naming conventions to store automation testing scripts

    Hi,
    Can anyone provide the solution for Naming conventions to store automation testing scripts in oracle application testing suite?
    Regards,
    Sairam

    Hi Sairam
    There are no naming conventions you can call them anything you like.
    Regards
    Alex

  • Apple Script for deleting podcasts

    I subscribe to a lot of podcasts, but I don't want to keep them in my iTunes library after I'm done listening to them. Is there an Apple Script for automatically deleting podcasts? Thanks.

    Thanks - once I'm in Automator and select Music, I don't see any options for finding Podcasts. Any suggestions which item/step I should select next in Automator? Thanks.

  • Illy CS3 Automating a Script

    This probably sounds redundant
    over and over again , automating a script, but is there a way of assign
    ing a keyboard shortcut
    or run the
    script in an action?  I use mucho a script written and generously shared by JET to joinnearest points.  It's a pain to have to click on file and then scripts and then select the script each time.   I would like to eliminate 2 clicks (or mashes as they say in the southern states).  Is there a way to do this within the script (adding a lline)?
    Guidance will be appreciated.

    This Action-Script bug has been present for several versions, at least
    Correct. I have been complaining about this bug for four versions now.
    It has become my practice to do this:
    I keep an Action defined in my Actions palette named JET_CurrentScript. When it becomes clear to me that I will be repeatedly using a script in a work session, I go ahead and use InsertMenuItem to insert the step in that Action.
    This is not a fix or even a workaround. It just lessens the tedium in certain circumstances. It becomes just as tedious, of course, if you have to do that for multiple frequently-needed scripts with every launch (you know--like having to reset your palette settings in Swatches, Doc Info, etc.)
    Illustrator's script access interface--like too much in Illustrator--is half-baked. Sloppy. Rushed-to-market. Compare to InDesign's Scripts palette.
    Now that ScriptUI provides for creation of floating dialogs (and supposedly modeless palettes--something else that's quite problematic with Illustrator's scripting implementation), one can combine several scripts into one dialog to handle multiple user inputs. I may get around to doing that with closely-related groups of my scripts, but am currently just getting acquainted with the rather tedious ScriptUI model.
    There are ways to make a script run when the program is launched. So it may be conceivable to devise a startup script that would launch a script containing such a multi-purpose palette. But I haven't monkeyed around with that yet, because it would be dependent upon the afore-mentioned modeless dialog working correctly--you wouldn't want a modal dialog to appear whenever you launch the program.
    I'm certainly no advanced Javascripter; I'm a self-motivated, self-trained "student" and "experimenter" when the mood strikes.
    I'm gratified, by the way, that some of you seem to fiind my Join scripts handy. I consider the functionality indespensible in my own work, which is why I hacked them out. But it is absolutely absurd that one has to resort to custom scripting to do something that should so obvously be a standard function in the program.
    JET

  • HACMP Clustering Script for SAP ECC 6.0 (SR1) - Automatic Failover

    Hello,
    I have installed the SAP ECC 6.0 (SR1) under AIX 5.3 / DB2 V8 FP12 with HACMP Clustering environment. Manual Failover is working fine. Central System has been installed in share drive with Virtual IP and Virtual name inNode A. Dialog Instance is loaded locally in Node B. I want to get HACMP Clustering script(automatic failover script) for Automation. Please help me if you have. It is single package clustering. If Node A fails, Node B will take care ( Central System and Dialog instance will run in Node B)
    Thanks
    Gautam Poddar

    this post is duplicated at Upgrade to ERP 2005/ECC 6.0 from  R/3 4.72/Basis 640 on Z/OS 1.4 DB2 8.1

  • HACMP Clustering Script for SAP ECC 6.0 (SR1) - Automatic Failover-Oracle10

    Hello,
    I have installed the SAP ECC 6.0 (SR1) under AIX 5.3 / Oracle 10g with HACMP Clustering environment. Manual Failover is working fine. ASCS and Database instances are loaded in share drive with Virtual IP and Virtual name. Central Instance and Dialog Instance are loaded locally in Node A and Node B. I want to get HACMP Clustering script(automatic failover script) for Automation. Please help me if you have.
    Thanks
    Gautam Poddar

    Here are HA stop & start scripts that you should be able adapt for your particular circumstances. Based on earlier versions of SAP / Oracle but assume should be a reasonable guide
    Script to start SAP is start_sap_prd
    #!/bin/ksh
    Script:         /usr/local/bin/cluster/start_sap_prd
    Comments:       HACMP Application START script for PRD
    Show me obvious information in hacmp.out
    banner "Starting"
    banner "PRD SAP"
    Set the oracle and sap owner.
    ORASID="PRD"
    SAPADM="prdadm"
    ORAUSR="oraprd"
    VIRTUALHOST="vhost"
    DEVHOST="vhostdev"
    Get the volume groups for this resource group
    RG=$( /usr/es/sbin/cluster/utilities/cllsgrp | grep -i $ )
    VG_LIST=$( /usr/es/sbin/cluster/utilities/cllsres -g $ | \
            grep "VOLUME_GROUP=" | \
            awk -F\" '{ print $2 }' )
    Check the transport directory is mounted.
    if mount | grep -w "/usr/sap/trans"
      then
            print "Transport directory is already mounted."
      else
            cd /tmp
            print "Attempting a background mount of the transport directory."
            nohup mount -o intr,bg,soft :/usr/sap/trans1 /usr/sap/trans &
    fi
    #Start SAP and Oracle
    #Start listener
    su - $ -c /rprd/oracle/PRD/920_64/bin/lsnrctl start
    rc=$?
    if [ $? != 0 ]
      then
            echo "ERROR: Listener failed to start\n"
    fi
    #Start Database
    su - $ -c "/rprd/oracle/PRD/bin/start_database_PRD.sh"
    sleep 20
    Standard sapstart script
    su - $ -c startsap $
    Script:       /usr/local/bin/cluster/stop_sap_prd
    Dated:        01/11/06
    Application:  Oracle/SAP
    Comments:     HACMP Application STOP script for SAP / Oracle PRD
    Show me obvious information in hacmp.out
    Set the oracle and sap owner.
    rc=$?
    if [ $? != 0 ]
    then
            echo "ERROR: Failed to start SAP\n"
    fi
    exit 0
    Script to stop SAP is stop_sap_prd
    #!/bin/ksh
    set -x
    banner "stopping"
    banner "PRD SAP"
    ORASID="PRD"
    SAPADM="prdadm"
    ORAUSR="oraprd"
    VIRTUALHOST="vhost"
    #Stop SAP/Oracle
    su - $ -c stopsap $
    rc=$?
    if [ $? != 0 ]
    then
            echo "ERROR: Failed to stop SAP and Oracle\n"
            break
    fi
    Stop SAP collector and Oracle listener.
    su - $ -c /usr/sap/PRD/SYS/exe/run/saposcol -k
    rc=$?
    if [ $? != 0 ]
    then
            echo "ERROR: Failed to stop SAPOSCOL \n"
    fi
    su - $ -c /rprd/oracle/PRD/920_64/bin/lsnrctl stop
    rc=$?
    if [ $? != 0 ]
    then
            echo "ERROR: Listener failed to stop\n"
    fi
    if mount | grep -w "/usr/sap/trans"
      then
            print "Transport directory is mounted."
            /usr/es/sbin/cluster/events/utils/cl_nfskill -k -u /usr/sap/trans
            sleep 1
            /usr/es/sbin/cluster/events/utils/cl_nfskill -k -u /usr/sap/trans
            sleep 1
            umount -f /usr/sap/trans &
      else
            print "Transport directory is not mounted."
    fi
    exit 0

  • Startup scripts for DB in one $OH and AS in another $OH

    Hello, I am setting up Oracle Collaboration Suite 10g on a SLES9 SP3 machine. I have used the installers and followed the docs (so I ended up creating oracle users, setting kernel params, modifying limites, etc myself). I am now trying to figure out how to get this setup to start on boot. I found the orarun package but the Oracle Collaboration Suite (OCS) docs seem to recommend against this. I am willing to use it if it works, however. I have also looked at the ocsctl_sample script that is installed in the apps tier, but that doesn't seem to handle starting a db in a different $OH and can not be run by root. I wrote a wrapper to use "su oracle -c cmd" but that didn't work out either.
    The setup I have is a database instance in one $ORACLE_HOME, and then the app server and apps in a separate $ORACLE_HOME (infrastructure/OID is on another server). Both of these $OH instances are listed in /etc/oratab of course. Since OCS handles mail it listens on privileged ports (25, 143, etc), so this listener may need to be started by root. I am thinking I only want one opmn instance, one apache instance, and one em instance on the system as well. I read through the init.d/oracle script from the orarun package and it seems like it only looks at the first $OH found in /etc/oratab if the /etc/profile.d/oracle.sh file is not found (I moved it out of the way as I have two scripts I use to set oracle environments depending on whether I'm working on the db or the as).
    Has anyone either used orarun or developed other scripts for starting a db instance in one $OH and an app server in another? Any tips?
    Thanks in advance,
    Chris

    Well, the issue is really multiple ORACLE_HOMEs. The single box install of OCS is two, in OCS 9i it was three. There is no problem with it, you just have to set the environment(mr obvious).
    As far as having a single EM, you'll have two on your apps box. One for the apps, the other for the DB. Again, no problem because they are on different ports.
    So, I guess the simplest explanation is just to write your own script. You can either create a sudoer for the mail listener, or set the setuid bit. There is a note on metalink for starting the mail listener as Oracle user.
    The safest way would be to log in as root each time the mail listener needs started, it depends what you can tolerate. You will come across these very same issues if you setup the web cache etc. for reserved ports.
    Another issue for automating the startup with your environment, is the fact that it is on two boxes. The processes need started in a particular order, the DB, Infra, then the apps. I don't have a good suggestion for that. You really should have put the DB and infra on one box, and the apps on another.

  • XMLImport Script for UNIX

    This may be of interest of those who have automated deployment scripts that run on the application servers.

    If you only want to do one file at a time and are looking for a way to "fill in the blanks" rather than knowing the command line syntax, you can use the UI.  If an X session is available, the Forms Compiler will launch a GUI if no arguments are passed into it.  For example:   frmcmp.sh
    The GUI will ask the user for the file, username, password, and all of the possible compiler options.  Many of the options are check boxes.
    If X is not available then just use the command line directly:
    frmcmp_batch.sh module=/home/someuser/myforms/myapp.fmb compile_all=yes userid=scott/tiger@orcl

Maybe you are looking for

  • ITunes Automatically Uses AirPlay Speakers As Default Speakers

    I'm currently experiencing a bug where iTunes automatically chooses my Apple TV as my speakers and screen (over AirPlay) instead of my computer. So whenever I play a movie/TV show, I have to manually choose 'Computer' from the dropdown box to get it

  • Altering number of decimal places of formatted number

    Using http://java.sun.com/docs/books/tutorial/i18n/format/numberFormat.html I have worked out how to format a number, almost. When I follow the example in this tutorial that shows how format a double, it always rounds it to 3 decimal places. How do I

  • Verizon DSL drops out intermitte​ntly: problems for 10 months

    Subject: Verizon DSL drops out intermittently:  problems for 10 months Hi all, Just wondering if any one can help.  We had Verizon DSL on our home phone line for six years in Worcester MA.  The first five years we had little to problems.  The last 10

  • Jsp:plugin jre

    Hello On the my system I have JAVA_HOME set to 1.4._10, in the browser NS, I have1.5_06, however the 1.4_10 plugin. The code below when processed by Tomcat 5.5.12 complains about a jre mismatch. How can I make the plugin configuration accept anything

  • Meta-policy failure

    A client is running a webservice at https://www.client.com/subdir/wsdl. They have a crossdomain at https://www.client.com/subdir/crossdomain.xml. My swf runs off of http://www.mysite.com/. My swf has always been able to connect to https://www.client.