Scheduled java process; how to do ?

Hi,
I have a question:
1) I want to schedule a java process every night at midnigt. What are the options that i have to achieve this ?
I know that we can put this java process in a cronjob, but the Linux server does not allow the non-priviledged users to run a cronjob. And we can not get "root" to run this process.
Please let me know know of any ideas how to achieve the same.
Thanks again for all your advised in the past too.
Best Regards, sangita

hmmm .....are you sure that a non-priviledges user
can run a crontab on LINUX. I know that this is true
on SUN UNIX but what i have been told is that you CAN
NOT run a crontab as a non-proviledged user on
LINUX.
Iam not that familiar with LINUX administrationIt's configurable. The admins can allow/deny cron rights to individuals or to everybody.
Try typing crontab -l or crontab -e and see what happens.
If you're not allowed, I don't know if the crontab command itself would fail, or if you just won't be allowed to create entries, so crontab -l not giving an error might not necessarily mean you have permission (though I think that it does).
You can use crontab -e to create entries. Put an entry in for yourself that touches a file 2 minutes from now, and see if it works.

Similar Messages

  • How to check actual allocated and used memory for java process in solaris?

    Hi,
    I'm testing performance for java application on solaris 10. And I would like to know how to measure actual memory allocated and used for java process.
    I'm setting -Xms512m -Xmx512m for my java process and I use prstat command to monitor it's memory. But I found that when I run prstat to check, in SIZE column is more than I setting (found 644).
    So I'm don't know the actual memory that java process used. (In this case,is it mean the process use memory (644) more than setting (512)?)
    Thank you.

    With Xms/Xmx you specify the Java heap size. On top of that comes the permanent generation (default max size 64m) and the C part of the process (the JVM itself with all its libraries and data).
    With "ps -e -o pid,vsz,rss,args" you get the virtual and set resident size of your processes.
    Nick.

  • How to schedule the process chain

    hi
    guys,
                       how to schedule the process chain to run on thirsday and friday b/w 8pm to 11:55pm which has already been scheduled for daily loads at 9am to 11am?
    (Tell me the answer in detail)
    your regards
    suresh

    Hi Suresh,
    If you want to change in the Production system, you may not have the Authorizations. If you have authorization;
    1. Goto RSPC-->double click on the Process chain
    2. double click on the Start variant of the process chain-->Click on the EDIT button
    3. Click on the CHANGE SELECTIONS then click on the DATE/TIME Tab;
    4. There pls give from which date this process chain has to run to with your requirement time,
    then give the time and select the periodic job and select with your requirement.
    Save and exit.
    It is done!!
    Hope you understood.
    Regards,
    Ravi Kanth

  • How to schedule the process chain fr the report

    hai experts,
    i have a query which i need to generate for every five hours? i know that we can generate the report thr process chain but i dont know how to build that..
    my question is how to schedule the report,how to build the process chain,....
    can any one plz tell me how to start this generating report for every five hours
    thanks in advance..points will be alloted surely ,i need this urgently..
    Suri

    First of all you need to Identify the InfoObjects if you want to take up Master Data Loads, and if you want take up transaction loads then select the Data Targets to which the data has to be updated. Then plan the dataflow accordingly.
    You want to create a Process Chain, Go to RSPC, and then select the create option and from the Process categories available on the left handside drag and drop the Start process, then define the Variant for the same. In the same way you need to identify the other Process Types available on the lefthand side. For Eg: Start Process>Load to ODS>Activation of ODS Data>Delete Indexes for the InfoCube>Load to InfoCube>Create Indexes>Delete Overlapping Req-->Agg. Rollup.
    This is how you need to specify the dataflow, several other Process Types also included based on the requirement For Eg: Sending Mail Alerts when the Job is Success or Terminated.
    Also, have a look at this links to make urself clear about the steps in creating Process Chain.
    http://help.sap.com/saphelp_nw04/helpdata/en/67/13843b74f7be0fe10000000a114084/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/events/sap-teched-03/using%20process%20chains%20in%20sap%20business%20information%20warehouse
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/19683495-0501-0010-4381-b31db6ece1e9
    Hope it helps.
    Regards,
    Archna

  • How to? More than 2 java processes...

    Hi all!
    I wonder how I can communicate between 2 or more different java processes running on the same machine?
    I know that I can use RMI, CORBA or some plain socket programming. Is there any more ways to do this?
    Cheers
    Anders =)

    Sockets is the lowest level of communication. RMI and CORBA sit on top of sockets. Their is also MPI but I don't actively know of a java MPI implementation. I worked on one 3-4 years ago, but its really probably not necessary with the current options.

  • How to schedule JAVA program as scheduled Job on portal 7.0 server ?

    Hi,
    Can you let me know on how do we schedule JAVA program as a scheduled job to run daily on portal 7.0 server ?
    Thanks,
    Vinit Pugaliya

    Am not clear on that,
    check this
    https://ecohub.sdn.sap.com/irj/sdn/index?rid=/webcontent/uuid/abb91c2a-0b01-0010-6ca6-9f0f62268454 [original link is broken]
    Am also new and now going through Job scheduler.
    Will let u know if i get to knwo any thing more abt same.
    Regards,
    Ravi

  • How to terminate java process from javascript

    How can we terminate architecture flow in between of process ? suppose once we have submitted form to insert the record but we want to terminate the process started at java side before inserting record in database, how is it possible through javascript?

    The thing is I wish to terminate the current java process when user clicks on any other action on jsp page. I am calling these process from ajax. when user click any other action on the page I abort the current XMLHttpRequest but only the request on the page stop but the process on java side don't stop exetuting

  • How do I stop Java processes from appearing on the dock?

    I have a Java application that has a fairly extensive build process using ant. It builds fine on OSX, but constantly annoys me. There are a large number of unit tests that run using JUnit, and each test starts in a new Java process. The problem is that when each process starts (and there are about 100 during the course of the build), a new Java icon appears on the dock and stays until the process finishes. First of all, that slows down the build (since it has to do all that graphics work to keep changing the appearance of the dock). Secondly, every time a new process starts, it takes away the keyboard focus from whatever I'm currently working on. I either have to click in the window I want again, or else wait for the process to finish.
    On Windows, this is handled with an alternative version of the JVM called "javaw.exe" that does not get a foreground window. However, I see no "javaw" in the Java directory on OSX. Is there some option to start Java with that will stop this dock updating? Note that there are times when I want the dock to be updated (when I'm running a "normal" Java app).

    Even when the Guest Account / Access is disabled, the login option / and lock screen, still have a guest login.
    This is because in Preferences/ Security & Privacy/General the bottom item is turned on.
    Turn on: Disable restarting to Safari when screen is locked

  • How to restart a java process in Oracle AS 10g

    Hi
    In Oracle AS 10g, the java process consumes 50% cpu resource due to the report invoked by a user. Now I need to restart the java back ground process?, please reply me with the syntax or with examples.
    ps -eaf
    CPU PROCESS
    50% /ORACLE_HOME/jdk/jre/bin/java -server -cp /report/oracle
    Thanks in advance
    Bala

    The copy method being using is unsupported, hence the target Portal would be in an unsupported state.
    This is unsupported as per the following note:
    Note 333867.1 - Portal Export and Import Utility Supportability Scenarios :
    Copy operations after an object is renamed:
    Exporting and importing a page group, then renaming the page group on the target system (to create a copy) and repeating the export and import operation.
    OR:
    Exporting and importing a page group, then renaming the same in source or target and repeating the export and import operation.
    Not supported.
    Please do not rename objects if you plan to perform export and import operations.
    Note: The display name can be changed, but internal name change is considered a renaming operation.
    In 10.1.4, renaming is supported, but renaming page group and pages with the intention of copying them is not supported..."

  • How to access another java process?

    I run two java process, A and B, any possiblity to access process A from process B?
    Process A and B are started with class's main method.
    Thanks.

    masijade. wrote:
    georgemc wrote:
    laguna8 wrote:
    Socket will not be appropriate for my case.
    My case is: I write a document editor (just like UltraEdit), after starting the editor, there is one process running, then I right click a file and choose to open that file with my editor, it starts another editor process. What I want now is just to open that file with the editor that has already run.Don't see why sockets aren't appropriate there. Why did you dismiss them?Because he wants a single pre-finished method call answer, maybe? ;-)Teh Codez!! Indeed. It's pretty obvious that there's an entire subsection of forum users who automatically dismiss any reply which doesn't include code. If we produce an exhaustive list of all the methods by which IPC can be achieved, however archaic, he'll dismiss the lot, and then spend the rest of his life pondering this simple problem

  • How to Schedule OWB Process Flows through OEM

    Hi,
    I have successfully created mappings and process flows for my project.
    But now I want to schedule the process flows through OEM.
    Following are my DB configurations..
    OWB Version : 10g R1 (Oracle SID LVDSGDEV ) on windows
    Runtime Owner: ATS_RUN_OWNER (Oracle SID LVDSGDEV )
    Runtime User : ATS_RUN_USER (Oracle SID LVDSGDEV )
    Work Flow Schema: OWF_MGR (Oracle SID LVDSGDEV)
    Source & Target DB : 10g (Oracle SID LVRUNDEV) on windows
    Process which I want to Schedule is....
    Process Flow Location: ATS_LOC
    Process Flow Name: PKG_DM
    Process Name: BASE_LOAD
    Can someone please suggest me, the procedure to schedule this process flow.....

    You may choose just to schedule the mapping directly through OEM. Create an OEM SQLPlus job that calls the script:
    @c:\owb_home\owb\rtp\sqlplus_exec_template.sql;
    Check the beginning of the sqlplus_exec_template.sql. It will show examples of the parameters it accepts and it has some documentation. It works nicely.

  • JAVA classpath: How to find classpath for a given java process

    I want to find the classpath for java process outside of the process.
    example:
    Lets say I execute the following command
    java -classpath foobar.jar;shoobar.jar javatest
    Is there a way to find the classpath from a different program given the process id that is created for the above command?
    Ami shukla

    Perhaps through an externally connected debugger? Beyond that, the only thing I can think of would be to modify the source to report that information for you.

  • Java Process with High CPU

    I have a java process running on HP-UX with a 1.4.2 JVM. This program is using some third-party code (quartz) to act as a batch scheduler similar to cron. When running in production, the process runs fine for several days and then starts maxing out the CPU. The server has 8 cpu's and the last time the problem occured, 4 of the cpu's were 100% in use with this process.
    I've tried sending a "kill -3 pid" but I can't seem to get a thread dump. I've eventually gotten some 700Meg core files. Is there anyway to use these core files to tell me what is going on?
    Any ideas on how to trouble shoot this problem? We've used some profilers but we can't duplicate the problem on test servers so we aren't learning anything new.
    Thanks,
    Brian

    Try pstack to read the stacks of the threads in the process.
    Try pldd to determine the shared libraries in the process then
    use truss to trace calls in any of these libraries to determine where
    the cycles are being spent.

  • In third party sales order process how  business come to know that the vend

    Hi SD Gurus,
    In third party sales order process how  business come to know that the vendor has delivery the goods to the customer?
    Where Business will check whether Vendor has delivered the goods or not to the customer?
    Thanks & Regards,
    Nivas

    Hi,
    Process
    VA01 - Create sales order (Schedule line CS and item category TAS) >> ME52N - PR is generated after save of sales order >> ME21N - Convert PR in to P.O >> Then vendor will send goods to customer and will send invoice to our company >> MIRO - Invoice receipt from vendor >> VF01 - Final invoice to customer
    When you enter vendor invoice then you come to know that vendor sent qty. same will be billed to customer(Billing relevance in item category should be F)
    Kapil

  • All Java Processes crash on RH Linux 7.3 / 6.3 without any comment

    We have the following Problem on two Machines. We installed j2sdk1.4.0 first, then jdk-1.3.1_04 (Because of other Problems with 1.4.0).
    Now all running java Processes crash after up to two hours without any comment, any error file. Looks like they were killed by the 'kill' Command. The running java Processes are different Programs, that do very different things.
    The OS on the two machines are RH Linux 7.3 and 6.3 - normal installation without any essential changes.
    I would be very happy, if someone have an idea, how to solve this Problem. If you need additional Information, ask for.
    Holger

    ... if someone have an idea, how to solve this Problem.Seems like I remember seeing a problem like that.
    It turned out that indeed it was the 'kill' command. Another process was running, looking for the app, and killing it when it found it.
    We spend quite a bit of time trying to figure out why our app was 'crashing' before deciding to look elsewhere (when we discovered the other process.)

Maybe you are looking for

  • Wrong direction of Packet loss

    Recently,I capture some RTP packets when user meeting the dialogue jitter and latency. User A using the 3951 ip phone (IP address is x.x.125.206, and x.x.200.165 is the voice gateway's ip address ) , and user B using a mobile phone. User A responds t

  • Unable to connect to AE 802.11n through airport utility -despite resetting

    Hi all, I do realize that there are a number of threads adressing what seems to be my problem, but none of the solutions have worked for me. I have a 2 year old AE 802.11n that has given me flawless wireless network for a long time now. I have for so

  • Why won't z22 information sync to iCal?

    Information put on iCal will sync to Palm z22, but the information put on z22 does not sync to iCal. Any ideas?

  • Technical Information

    Could some of you suggest a good book for getting to know the in's and out's of the OS? I am an administrator for a couple of hundred pc users in a Windows domain environment and have purchased my first Mac last week. I am trying to get to know it li

  • What superdrive is the best?

    My superdrive does not play DVDs or burn CDs/DVDs anymore. I just hear a weird clicking noise then it spits the disc out. (Not the first problem I've had with the Macbooks hardware may I add) I'm guessing its beat. I really want to know peoples opini