How to load custom root Xserve LaunchAgents on reboot

One of our new Xserve'rs is running Snow Leopard, and I have taken the plunge and started rewriting cron jobs into launchd jobs. I have the user-level jobs running just fine, and have the username/Library/LaunchAgents/.launchd.conf successfully loading launchd jobs when the system reboots.
Now, I have to run some launchd jobs as root (to permit rsync backup scripts to read/write user and system files with restrictive permissions). When I load the *plist files manually as root, all is good. But I haven't found out how to load root-level *plist files on reboot. I have tried putting the *plist launchd jobs in /System/Library/LaunchAgents, and I have tried putting them in the root user /var/root/Library/LaunchAgents with the accompanying .launchd.conf file.
How do I get my launchd jobs that need to run as root to load on reboot?

Dave,
I am by no means an expert, but on Leopard server I have used Lingon to configure the regular script calls I needed (I had used cron jobs so had to switch when upgrading to 10.5). It has an assistant to create the plist files and knows where to put them and I believe it did for me what you are looking for.
Cheers,
Michael.

Similar Messages

  • How to load custom photoshop cs5 layer styles to photoshop cs6 ?

    how to load custom photoshop cs5 layer styles to photoshop cs6 ?

    yes that was done on installatiion , when i open ps cs6 and look for them there, and they are not there .  and thank for reponding so fast.

  • How to load Custom Object 1 ?

    Hello to everyone,
    I can't find how to load my data for Custom Object 1.
    I can't find that data type in my wizard.
    Someone can help me ?
    Thanks for your help.

    Hi,
    I would recommend you to raise this Issue in the Administration section of the forum instead of Integration.
    Never the less I would recommend you to do this check before you proceed
    Navigate to the below link
    Admin >> Application Customization >> Customize Record Types
    and find the "Display Name/Singular" under "Custom Object 01" ones found
    Go back to Import/export tool to import data section to locate the name found above.
    Hope this helps :)
    Regards,
    Messer

  • Photoshop CS5 (Mac) How to load custom Smart Sharpen filter?

    Yesterday I was working with a collection of photos, and saved my Smart Sharpen settings. As I moved from one photo to another, I was able to choose my saved settings in the dropdown menu. Today, however, all that is available is "default" -- how can I load yesterday's saved settings?

    If you don't exit Photoshop gracefully, it doesn't write settings changes out to disk.
    It's not something one should have to worry about, but it's always a good idea after you make a Photoshop configuration change (or create named settings, or similar) to just exit Photoshop right away.
    -Noel

  • PSE7, xp, how to load layer styles? no .db3 file found

    I have read all kinds of information about how to load custom layer styles and I've come to the conclusion that I need to install all styles into the folder where the other styles live (presets>styles) and I need an .xml file for each style to see the style in elements program and I need to delete the original .db3 file and let elements rebuild it when it opens but I cannot find an original .db3 file...anywhere.  Nor do I have any existing .xml files that coordinate with the original layer styles to manipulate for the new layer styles.  What am I missing?

    Hi,
    You would have to follow these steps -
    Hi,
    These steps would help you get them back.
    1 - Quit Elements
    2 - Go to the path - C:\Documents and Settings\All Users\Application Data\Adobe\Photoshop Elements\6.0\Locale\en_US (for XP)
    { or Vista - C:\ ProgramData\ Adobe\ Photoshop Elements\ 6.0\ Locale\ en_US\ }
    (If you aren't in the US, use the appropriate Locale)
    Note that the "Application Data" is a hidden directory, so you will have to enable "Show hidden files and folders" in the Folder Options in order to be able to see it.
    3 - You should see a file named MediaDatabase.db3. Rename the file to something else, such as MediaDatabase.old
    4 - Restart the Elements Editor. You will see it rebuilding the database. Do not touch anything. It will take a while to rebuild. After thats done all things should be back to normal.
    Hope you're able to find the files and it works for you.

  • How to load fonts into iPad?

    Can anyone offer help/referral on how to load custom fonts into the iPad?  Thanks

    there are no fonts but go to setting/general/keyboard/keyboards/ and choose your keyboards

  • How to load R/3 Plant, Customer, Vendor, all linked in T001W

    Hi,
    In R/3 we have a Plant PL01. In the initial load of object DNL_PLANT this creates CRM BP #101 with role BBP003.
    In R/3 we have a Customer CPL01 (linked to Plant PL01 in R/3 customizing table T001W). In the initial load of object BUPA_MAIN this creates CRM BP #102 CRM000.
    In R/3 we have a Vendor VPL01 (linked to Plant PL01 in R/3 customizing table T001W). In the initial load of object VENDOR_MAIN this creates CRM BP #103 with role BBP000.
    Question 1: How can we create the R/3 Plant PL01 in CRM as BP #PL01 (i.e. using an external number range)?
    Question 2: How can we create the Plant, Customer & Vendor as a single CRM BP #?
    Points will be rewarded.
    Thanks,
    J

    Jim,
    The problem you face is that CRM is going to download those as three separate partners.
    Note 865321 gives a solution on how to load plants into CRM in an external range that you would specify.  This is however for DNL_PLANT.
    Your next issue is unless your plant as customer and your plant as a vendor are in separate account groups for each, you won't be able to map these into a single business partner in CRM, unless you do some manipulation.
    I guess what you could do on an initial load for those objects is the following:
    1.  If the customer or vendor is a plant:
    - Remanipulate the BDOC so that it becomes the single "plant business partner", on the ERP side.
    2.  For delta's you will need to also do this remanipulation.
    3.  If you plan on sending delta changes from CRM back to R/3 then on the CRM side you will need to decide how to distribute the changes from the single business partner back to the customer and vendor partners.
    This is definitely possible, but it is going to take some effort and you will need a very seasoned middleware developer to make it happen.  I am guessing a couple of weeks for a experienced middleware guru to complete this.
    Good luck,
    Stephen

  • How to load master data from SAP R/3 system like Customer master...........

    How to load master data from SAP R/3 system like Customer master, materioal master , vendor master.............

    Hi Bramha,
            Check ...........
    Re: master data loading in BI 7.0
    /message/4708129#4708129 [original link is broken]
    Re: Master data loading.
    Regards,
    Vijay.

  • How to load an image into blob in a custom form

    Hi all!
    is there some docs or how to, load am image into a database blob in a custom apps form.
    The general idea is that the user has to browse the local machine find the image, and load the image in a database blob and also in the custom form and then finally saving the image as blob.
    Thanks in advance
    Soni

    If this helps:
    Re: Custom form: Take a file name input from user.
    Thanks
    Nagamohan

  • How to load an applet using custom classloader ?

    Hi All,
    How to load an applet using custom classloader rather than using default browsers classloader i.e AppletClassLoader usually ?
    Regards,
    Kumar.

    I would guess that that would require two applets.
    The first does nothing but create the custom class loader and then load the second applet.

  • How to show custom error message in WebADI Excel template?

    Hi,
    I've  created a custom Web ADI integrator and associated it with a 'Procedure' based custom interface.
    WebADI Interface API Returns is set to  "Error Message".
    I'm using  raise_application_error(-20001, "Actual Error Message") for invalid rows,but custom error message from PL/SQL  is not populated on the excel template.
    Instead it is showing "SQL exception occurred during PL/SQL upload".
    Am I missing anything? How to show custom error message from Pl/SQL procedure to WebADI Excel template?
    TIA
    Narasimha

    The custom API errors are visible in the BNE log but not on the Excel.
    BNE Log=>
    12/10/13 2:52 PM Web ADI Upload Job 13008 ERROR          BnePLSQLUpload.doUpload: Exception while uploading to PL/SQL API.  Error Code: 20001, Message: ORA-20001: -Please enter CONTAINER_ID -  Enter PO_NO -
    ORA-06512: at "APPS.XXPO_COSTFACTS_WEBADI_PKG", line 264
    ORA-06512: at line 1
    12/10/13 2:52 PM Web ADI Upload Job 13008 ERROR          BnePLSQLUpload.doUpload: Stack trace: java.sql.SQLException: ORA-20001: -Please enter CONTAINER_ID -  Enter PO_NO -
    ORA-06512: at "APPS.XXPO_COSTFACTS_WEBADI_PKG", line 264
    ORA-06512: at line 1
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:439)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:395)
      at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:802)
      at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:436)
      at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:186)
      at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:521)
      at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:202)
      at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:1005)
      at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1307)
      at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3449)
      at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3550)
      at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4710)
      at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)
      at oracle.apps.bne.integrator.upload.BnePLSQLUpload.doUpload(BnePLSQLUpload.java:284)
      at oracle.apps.bne.integrator.upload.BneSAXUploader.processDeepestLevel(BneSAXUploader.java:2346)
      at oracle.apps.bne.integrator.upload.BneSAXUploader.startElement(BneSAXUploader.java:1182)
      at oracle.xml.parser.v2.XMLContentHandler.startElement(XMLContentHandler.java:181)
      at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1288)
      at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:336)
      at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:303)
      at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:234)
      at oracle.apps.bne.integrator.upload.BneUploader.processUpload(BneUploader.java:301)
      at oracle.apps.bne.integrator.upload.BneAbstractUploader.processUpload(BneAbstractUploader.java:114)
      at oracle.apps.bne.integrator.upload.async.BneAsyncUploadThread.run(BneAsyncUploadThread.java:140)
    12/10/13 2:52 PM AJPRequestHandler-HTTPThreadGroup-5 WARNING        BneOracleWebAppsContext.getTimeZone CLIENT_TIMEZONE_ID has not been set
    12/10/13 2:52 PM AJPRequestHandler-HTTPThreadGroup-5 ERROR          BneOracleWebAppsContext.getExtraJDBCConnection recieved the same connection as the base connection.  There may be transaction problems.
    How to show the same error in the excel template?
    Here is the package:
    CREATE OR REPLACE PACKAGE BODY APPS.XXPO_COSTFACTS_WEBADI_PKG
    AS
       PROCEDURE upload_data (
                              P_CONTAINER_ID IN VARCHAR2
                            , P_SAIL_DATE IN DATE
                            , P_PO_NO IN VARCHAR2                     
                             ) IS
        --declare
        lv_err_msg      VARCHAR2(240);
        lf_err_flag     NUMBER := 0;
        ln_temp         NUMBER;
        BEGIN
        --------------------- checking for mandatory parameters---------------------------
          IF (P_CONTAINER_ID IS NULL) THEN
             lf_err_flag := 1;
             lv_err_msg := lv_err_msg||'-'||'Please enter CONTAINER_ID - ';
          END IF;
          -------------Validation for Sail Date Format----------------------
          IF (P_SAIL_DATE IS NULL) THEN
             lf_err_flag := 1;
             lv_err_msg := lv_err_msg || ' ' || 'Enter Sail Date - ';
          ELSE
             BEGIN
                SELECT 1
                  INTO ln_temp
                  FROM DUAL
                 WHERE P_SAIL_DATE =  TO_DATE (TO_CHAR (P_SAIL_DATE, 'DD-MON-YYYY'), 'DD-MM-YYYY');
             EXCEPTION
                WHEN NO_DATA_FOUND THEN
                   lf_err_flag := 1;
                   lv_err_msg := lv_err_msg || ' Enter Sail date in DD-MON-YYYY Format';
                WHEN OTHERS THEN
                   lf_err_flag := 1;
                   lv_err_msg := lv_err_msg || ' Enter Sail date in DD-MON-YYYY Format'|| SQLERRM;
             END;
          END IF;
          -------------Validation for PO_Number----------------------
          IF (P_PO_NO IS NULL) THEN
             lf_err_flag := 1;
             lv_err_msg := lv_err_msg || ' ' || 'Enter PO_NO - ';
          ELSE
             BEGIN
                SELECT count(1)
                  INTO ln_temp
                  FROM PO_HEADERS
                 WHERE Attribute4 =  P_PO_NO;
             EXCEPTION
                WHEN NO_DATA_FOUND THEN
                   lf_err_flag := 1;
                   lv_err_msg := lv_err_msg || ' No Oracle PO for Biceps PO#'||P_PO_NO;
                WHEN OTHERS THEN
                   lf_err_flag := 1;
                   lv_err_msg := lv_err_msg || ' Error getting the Oracle PO for Bicpes PO#'||P_PO_NO||' Error-' || SQLERRM;
             END;
          END IF;
         -----------------------Insert Record----------------------------
         IF lv_err_msg is NULL THEN
         BEGIN
             INSERT
              INTO XXP2P_HW_COST_FACTORS_STG
                     CONTAINER_ID
                    ,SAIL_DATE
                    ,PO_NO
                    , ERROR_FLAG
                    , ERROR_MSG
                   ,CREATED_BY
                    ,CREATION_DATE
                    ,LAST_UPDATED_BY
                    ,LAST_UPDATE_DATE
                    ,LAST_UPDATE_LOGIN              
                VALUES
                     P_CONTAINER_ID
                    ,P_SAIL_DATE
                    ,P_PO_NO              
                    ,lf_err_flag
                    ,lv_err_msg
                  ,FND_GLOBAL.USER_ID
                    , trunc (sysdate)
                    ,FND_GLOBAL.USER_ID
                    , trunc (sysdate)
                    ,FND_GLOBAL.LOGIN_ID              
                  --  commit;
                  DBMS_OUTPUT.put_line
                    '-' || 'After ap_invoices_interface'
            EXCEPTION
            WHEN OTHERS THEN
              ROLLBACK;
              lf_err_flag := 1;
              lv_err_msg  := lv_err_msg || ' ' || 'error loading CONTAINER_ID-' || P_CONTAINER_ID || SQLERRM;
              raise_application_error(-20001, lv_err_msg);
            END;
        ELSE
              raise_application_error(-20001, lv_err_msg);
        END IF;
      END upload_data;                        
    END XXPO_COSTFACTS_WEBADI_PKG;

  • How to find the root document of my web application, if it is in WAR file ?

    Hi,
    I want the root document of my web application. I my EAR file, i have only one WAR file. In my WAR file the following are the folders:-
    enterprise/..
    properties/sql/..
    locale/..
    WEB-INF/..
    Once i get the 'real path' or 'root document', I will use that in my application in no.of times. Path(root document) is used in the following way in my application:-
    File emailTemplatesFolder = new File( path + "/enterprise/"+ enterpriseCode+"/EmailTemplates");
    If i use getRealPath() method, it works fine, in use Oracle9ias, because, EAR file will be extracted. Where as in Weblogic 6.1, EAR file willn't be extracted, so that getRealPath() is giving 'null', that is reason why i am seeking for alternative.
    Thanks in Advance
    Srinivas

    Yes, that is the corrected behaviour.
    What you need to do is to get the ServletContext, and then load the files as resources.
    Here is how to load a properties file in the init() servlet method, which has access to the ServletConfig object that can give u the ServletContext.
    String classesDir = "/WEB-INF/classes";
    ServletContext sc = config.getServletContext();
    InputStram is = sc.getResourceAsStream(classesDir+"default.properties");
    props.load(is);
    Hope it helps,
    Liviu

  • How to find the root document in my application, if application is deployed as  EAR file ??

              Hi,
              I want the real path, i mean root document.
              I my EAR file, i have only one WAR file. In my WAR file the following are the
              folders:-
              enterprise/..
              properties/sql/..
              locale/..
              WEB-INF/..
              Once i get the 'real path' or 'root document', I will use that in application
              in no.of times. Path is used in the following way in our application:-
              File emailTemplatesFolder = new File( path + "/enterprise/"+ enterpriseCode+"/EmailTemplates");
              If i use getRealPath() method, it works fine, in use Oracle9ias, because, EAR
              file will be extracted. Where as in Weblogic 6.1, EAR file willn't be extracted,
              so that getRealPath() is giving 'null', that is reason why i am seeking for alternative.
              Thanks in Advance
              Srinivas
              

    Yes, that is the corrected behaviour.
    What you need to do is to get the ServletContext, and then load the files as resources.
    Here is how to load a properties file in the init() servlet method, which has access to the ServletConfig object that can give u the ServletContext.
    String classesDir = "/WEB-INF/classes";
    ServletContext sc = config.getServletContext();
    InputStram is = sc.getResourceAsStream(classesDir+"default.properties");
    props.load(is);
    Hope it helps,
    Liviu

  • How to load beginning balance

    Hi :
    How to load beginning balance to repective g/l account in SAP?

    If you want to load balances at the time of go live.
    Create a clearing account like data take over A/c
    MM will upload material balances using tcode MB1C and movement type 561
    it will generate the following accounting entry
    Finished goods stock a/c          Debit
    Semi-Finished goods stock a/c Debit
    Raw Material stock a/c             Debit
    Packing Material stock a/c        Debit
    Stores and spares a/c              Debit
    Data take over                          Credit
    Customer a/c (not recon G/l) Debit
    Data takeover a/c                  Credit
    Data takeover a/c                Debit
    Vendor a/c (not recon GL) Credit
    For Asset - tcode OASV
    Plant and Machinery a/c          Dr
    Accumulated depreciation a/c Credit
    Data takeover a/c                    Credit
    Cash balance through FBCJ
    G/L Tcode F-02,
    Data takeover a/c     Debit  (Balancing figure)
    Bank a/c                    Debit
    Advances                 Debit
    Share capital a/c       Credit
    Short term Loan a/c   Credit
    Long term loan a/c     Credit

  • How to Add custom Attribute in XML

    How to add Custom attribute recusrivly. With sequence order.
    //Before xml:-
    var myxml:XML=
    <root>
    <leval0 >
    <leval1 >
    <leval2></leval2>
    <leval2></leval2>
    </leval1>
    <leval1 >
    <leval2></leval2>
    <leval2></leval2>
    </leval1>
    </leval0>
    </root>
    ////After xml:
    var myxml:XML=
    <root>
    <leval0 levalid="0" >
    <leval1 levalid="0_0" >
    <leval2 levalid="0_0_0"></leval2>
    <leval2 levalid="0_0_1"></leval2>
    </leval1>
    <leval1 levalid="0_1" >
    <leval2 levalid="0_1_0"></leval2>
    <leval2 levalid="0_1_1"></leval2>
    </leval1>
    </leval0>
    </root>

    //call this method
                trace(addAttribute(myxml));
    //method
                private function addAttribute(node:XML, depth:String = ""):XML
                    if (node.hasComplexContent())
                        var count:int = 0;
                        var prefix:String = 0 < depth.length ? depth + "_" : "";
                        var currentAtt:String;
                        for each (var nodeItem:XML in node.children())
                            currentAtt = prefix + count;
                            nodeItem.@levalid = currentAtt;
                            addAttribute(nodeItem,currentAtt);
                            count++;
                    return node;

Maybe you are looking for