Schedule jobs not running

the user execute the abap job and execute in background, but it is not running. He execute many times, but still sit in schedule state, do you know why? there is no error in SM21, will it be authority issues? how to check? thanks

It looks like it is an authorization issue. Ask them to do that again and immediately in another session, run SU54. This will show all the authorization checks that the user went through and tells you if it failed.
Alternatively, they can just go to SM37 and try to release it. If it comes back with a message, you will know.
Srinivas

Similar Messages

  • DPM 2012 R2 Upgrade - Scheduled jobs not running

    Hi,
    We're having an issue after upgrading to DPM 2012 R2 where the scheduled jobs are not running.
    We're running Server 2012 R2 with SQL Server 2008 R2 SP2.
    Looking at SQL jobs, if we run the job step we get an error.
    Message
    [136] Job 18822c3e-8fe 7-47a2-bb6e-0feccecc2952 reported: The process could not be created for step 1 of job 0xA746B176EAD99943A14A57DAF684829F (reason: %1 is not a valid Win32 application)
    However, if we place quotes around the triggerjob.exe path in the SQL default job step:
    "C:\Program Files\Microsoft System Center 2012 R2\DPM\DPM\bin\TriggerJob.exe" 9b30d213-b836-4b9e-97c2-db03c3eb39d7 18822c3e-8fe7-47a2-bb6e-0feccecc2952 server.domainname.com
    It is successful. 
    We've already uninstalled DPM 2012 R2 and re-installed, restored the database and run dpmsync -sync with the same result. We've checked the DCOM Config Launch and Activation Permissions for Microsoft System Center 2012 R2 Data Protection Manager Service
    and has full access.
    Has anyone else had this issue and been able to resolve it?
    Any help would be greatly appreciated.

    Hi,
    The below blog may assist with troubleshooting your issue.
    http://blogs.technet.com/b/dpm/archive/2014/10/08/how-to-troubleshoot-scheduled-backup-job-failures-in-dpm-2012.aspx
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually
    answer your question. This can be beneficial to other community members reading the thread. Regards, Dwayne Jackson II. [MSFT] This posting is provided "AS IS" with no warranties, and confers no rights."

  • Scheduled Job not running properly

    Hello Friends,
    I have a webservice that sends the mail to 24 or above users at a single go . This functionality I need to schedule . So I designed the job for same purpose , now the problem is that the webservice is running absolutely fine but once the job is scheduled and run , the mails are not send . I tried to send a single mail also with the help of scheduler API and was succefull in doing that but If the webservice needs to send more than one mail , this does not happen through the Scheduler API
    I also had encountered problem while runnign the webservice earlier. I was getting the Read timed out error during execution of webservice For its solution I increased the time out period of the webservice  mannually ( from the left panel , the time out period can be increased in WebService Navigator ) and the problem got solved , this you cant do once you have scheduled the job so one of the reson may this time out expiration also .
    So can any one help me out with the way to increase the time out period for the webservice not mannually rather in a more stabel and permanent way
    Edited by: Smriti_techno on May 5, 2009 8:50 AM

    hi
    refer this link for example of scheduler api
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90a95132-8785-2b10-bda5-90d82a76431e
    let me know am i correct or not
    bvr

  • Convert Spool to PDF and mail for the jobs not run in background.

    Dear All,
    I need to convert the spool job into pdf and mail as attachment for job not run in background.
    I am printing the bills  using the program  SD70AV3A to print the bills in a batch using the SUBMIT.
    But i am not using the spool options since its going to into waiting state in spool...and i need to change the printer properties to G
    to get the printer to print the reports as these jobs run in backgroud....but this solution is not acceptable solution.
    SUBMIT SD70AV3A
             WITH RG_KSCHL-LOW = 'ZRR'
             WITH RG_NACHA-LOW = '1'
             WITH PM_VERMO = '2'
             WITH PM_NSORT = '1'
             WITH RG_VBELN IN range.
    *        TO SAP-SPOOL
    *        SPOOL PARAMETERS print_parameters
    *        WITHOUT SPOOL DYNPRO
    *        VIA JOB name NUMBER number
    *        AND RETURN.
    so how do i get the spool number from the above after the job is submitted....and then convert into pdf and mail
    please suggest some solution. I have searched on net but most the solutions are say to run the job as background job...
    i have also looked into the program RSTXPDFT4 but it asks for the spool id ....how can i get spool id for the job that has been completed.
    please suggest some solution.
    Thanks
    Bhargava.

    Hi,
    Spool to PDF : FM 'CONVERT_ABAPSOOLJOB_2_PDF'
    Table TSP01 to get spool number
    You ,may need to convert OTF to PDF: FM CONVERT_OTF
    and the to binary : FM 'SMCS_XSTRING_TO_BINARY'
    To send mail use class: cl_document _bcs.
    Regards,
    Maria João Rocha

  • Troubled to get scheduler job to run?

    Hi all friends:
    I'm having trouble getting any scheduler jobs (here, troubled job name is CUSTMASTER_CHANGES_01) to actually run.
    when
    sql>select job_name,state,enabled,retry_count,failure_count,run_count,restartable,start_date,repeat_interval,job_class
    from all_scheduler_jobs;
    JOB_NAME STATE ENABL RETRY_COUNT FAILURE_COUNT RUN_COUNT RESTA START_DATE REPEAT_INTERVAL JOB_CLASS
    CUSTMASTER_CHANGES_01 SCHEDULED TRUE 0 0 0 FALSE 14-JAN-08 09.46.14.6 FREQ=SECONDLY;I SCANNER_JO
    72965 AM AMERICA/NEW NTERVAL=5 B_CLASS
    _YORK
    for job 'CUSTMASTER_CHANGES_01'
    we can see RUN_COUNT 0 and restartable false.
    I upped slave processes to 5. dbms_scheduler.run_job('CUSTMASTER_CHANGES_01') works, but it's still not executing on the schedule
    when run as sysdba
    SQL> exec dbms_scheduler.run_job('CUSTMASTER_CHANGES_01');
    ERROR at line 1:
    ORA-27475: "SYS.CUSTMASTER_CHANGES_01" must be a job
    ORA-06512: at "SYS.DBMS_ISCHED", line 150
    ORA-06512: at "SYS.DBMS_SCHEDULER", line 441
    ORA-06512: at line 1
    to resolve that,
    we found
    When you create your job by using dbsm_scheduler, it has a parameter called ‘auto_drop’, is by default, =’true’, like, auto_drop => TRUE
    see below;
    dbms_scheduler.create_job(
    job_name IN VARCHAR2,
    job_type IN VARCHAR2,
    job_action IN VARCHAR2,
    number_of_arguments IN PLS_INTEGER DEFAULT 0,
    start_date IN TIMESTAMP WITH TIME ZONE DEFAULT NULL,
    repeat_interval IN VARCHAR2 DEFAULT NULL,
    end_date IN TIMESTAMP WITH TIME ZONE DEFAULT NULL,
    job_class IN VARCHAR2 DEFAULT 'DEFAULT_JOB_CLASS',
    enabled IN BOOLEAN DEFAULT FALSE,
    auto_drop IN BOOLEAN DEFAULT TRUE,
    comments IN VARCHAR2 DEFAULT NULL);
    The job you manually run once and then it drops itself when you test.
    so I am specifiying auto_drop to be false, but it is showing it has true as the attribute.
    DBMS_SCHEDULER.CREATE_JOB(
    job_name => scanner.scanner_name,
    job_type => 'PLSQL_BLOCK',
    job_action => 'BEGIN IF EEG_SCAN.GET_RUNNING_JOBS_COUNT('
    ||''''||UPPER(scanner.scanner_name)||''''
    ||') < 2 THEN '||scanner.scanner_proc_name||'; END IF; END;',
    repeat_interval => 'FREQ=SECONDLY;INTERVAL=5',
    job_class => c_job_class_name,
    auto_drop => FALSE,
    enabled => true
    scheduler job is still not working as expected.....?
    Can you help me for this??
    thanks a lot in advance.
    Message was edited by:
    jerrygreat
    Message was edited by:
    jerrygreat

    Hi,
    There are a few other limits you could check .
    Make sure that you have not exceeded the maximum number of sessions or the maximum number of processes or the maximum number of scheduler jobs
    select * from dba_scheduler_global_attribute;
    and
    select name,value from v$parameter where name like '%process%';
    select name,value from v$parameter where name like '%session%';
    Also check how many jobs are currently running
    select count(*) from dba_scheduler_running_jobs;
    select count(*) from dba_jobs_running ;
    select count(*) from v$session ;
    One of these limits may need to be increased.
    The run_job succeeds because it runs in the current session by default, if you use use_current_session=>false, does it still work ?
    Also auto_drop only drops the job when it has completed e.g. past its end_date or exceeded its max_runs.
    Finally note that there is a dedicated forum for dbms_scheduler located here
    Scheduler
    Hope this helps,
    Ravi.

  • Cron jobs not running

    Hi
    I am using linux 5.x
    uname -r
    2.6.18-348.16.1.0.1.el5PAE
    I have 2 crontab jobs set up as following .
    cat backup_confluence.sh
    #!/bin/bash
    # bash shell script to backup confluence backups to bccpfr
    # Schedule this script after the backups are performed that day
    # Setup the environment for the bourne-again shell
    . ./.bash_profile
    # Copy the daily backups for confluence
    find /usr/share/confluence/data/backups -mtime -1 \! -type d -exec ls {} \; -exec scp {} bccpfr:/usr/backup/confluence \;
    second
    cat  backup_jira.sh
    #!/bin/bash
    # bash shell script to backup jira backups to bccpfr
    # Schedule this script after the backups are performed that day
    # Setup the environment for the bourne-again shell
    . ./.bash_profile
    # Copy the daily backups for jira
    find /usr/share/jira/backups -mtime -1 \! -type d -exec ls {} \; -exec scp {} bccpfr:/usr/backup/jira \;
    cron as following
    $ crontab -l
    13 06 * * * /home/lsg/backup_jira.sh
    18 06 * * * /home/lsg/backup_confluence.sh
    Issue
    Both the above .sh are running properly when executed  manually but they are not running automatically at the given time crontab job.
    Kindly help me on this issue.
    many thanks
    J

    Is your crontask not running at all or is the scheduled task failing?
    Hey Tommy I sent you some replies yesterday; don't know what happened to them. Yes I can see that crond runs every ten minutes. Also when I created the crontab file using the command you sent here I could see that it was running every minute by looking at root mail in /var/log.
    Do you have execute permission set on the scripts?
    Yes
    Any info in /var/log/messages or e-mail?
    Output from mail-
    From root@razorback  Tue Feb 11 08:19:01 2014
    Return-Path: <root@razorback>
    Received: from razorback (localhost [127.0.0.1])
        by razorback (8.13.8/8.13.8) with ESMTP id s1BEJ154018231
        for <root@razorback>; Tue, 11 Feb 2014 08:19:01 -0600
    Received: (from root@localhost)
        by razorback (8.13.8/8.13.8/Submit) id s1BEJ1rh018198;
        Tue, 11 Feb 2014 08:19:01 -0600
    Date: Tue, 11 Feb 2014 08:19:01 -0600
    Message-Id: <201402111419.s1BEJ1rh018198@razorback>
    From: root@razorback (Cron Daemon)
    To: root@razorback
    Subject: Cron <root@razorback> $(date) >> /tmp/cronout
    Content-Type: text/plain; charset=UTF-8
    Auto-Submitted: auto-generated
    X-Cron-Env: <SHELL=/bin/sh>
    X-Cron-Env: <HOME=/root>
    X-Cron-Env: <PATH=/usr/bin:/bin>
    X-Cron-Env: <LOGNAME=root>
    X-Cron-Env: <USER=root>
    /bin/sh: Tue: command not found
    From root@razorback  Tue Feb 11 08:20:02 2014
    Return-Path: <root@razorback>
    Received: from razorback (localhost [127.0.0.1])
        by razorback (8.13.8/8.13.8) with ESMTP id s1BEK2BD018267
        for <root@razorback>; Tue, 11 Feb 2014 08:20:02 -0600
    Received: (from root@localhost)
        by razorback (8.13.8/8.13.8/Submit) id s1BEK1mT018238;
        Tue, 11 Feb 2014 08:20:01 -0600
    Date: Tue, 11 Feb 2014 08:20:01 -0600
    Message-Id: <201402111420.s1BEK1mT018238@razorback>
    From: root@razorback (Cron Daemon)
    To: root@razorback
    Subject: Cron <root@razorback> $(date) >> /tmp/cronout
    Content-Type: text/plain; charset=UTF-8
    Auto-Submitted: auto-generated
    X-Cron-Env: <SHELL=/bin/sh>
    X-Cron-Env: <HOME=/root>
    X-Cron-Env: <PATH=/usr/bin:/bin>
    X-Cron-Env: <LOGNAME=root>
    X-Cron-Env: <USER=root>
    /bin/sh: Tue: command not found

  • Oracle Job not running properly

    Hi All,
    I am facing an issue with oracle jobs.
    I have writtent the script of a job scheduled to be executed automatically after 2 seconds.It works on a table and dequeue the data in that table.
    Now the job is not able to execute for next time.If i execute the job immediately then also it does not run for next time.
    so where could be the problem...
    Please give me pointers.
    Thanks in advance :)
    Thanks n Regards
    Arun

    user10280915 wrote:
    Hi All,
    I am facing an issue with oracle jobs.
    I have writtent the script of a job scheduled to be executed automatically after 2 seconds.It works on a table and dequeue the data in that table.
    Now the job is not able to execute for next time.If i execute the job immediately then also it does not run for next time.
    so where could be the problem...
    Please give me pointers.
    Thanks in advance :)
    Thanks n Regards
    ArunThings that you'll need.
    1. JOB_QUEUE_PROCESSES to be non-zero
    2. A commit after submitting the job
    3. The job not to be broken.
    4. don't schedule very frequently (say <5s) if the os is Linux :( ).
    I'd check in the above order.
    Niall

  • Scheduled job not getting executed on a logical standby

    Hello,
    We have created a job(through dbms_scheduler API). The job is enabled and shows up in the SCHEDULERJOBS view also.
    However the job does not get executed. I looked into the following tables there was no relevant entry found for the aforesaid job:
    select * from all_scheduler_job_log
    select * from dba_scheduler_running_jobs
    select * from DBA_SCHEDULER_JOB_RUN_DETAILS order by log_date desc
    Is there any limitation that we cannot execute scheduled jobs on a logical standby database. If i execute the relevant program (that is configured to be run as job in this scenario) as an individual procedure from SQL plus, it gets executed successfully implying there is no errors/problem in the subprogram that the job is going to invoke.
    Appreciate your thoughts in this regard.
    Thanks.

    Hi Justin,
    Thanks for your response.
    As per the app design, the job invokes a stored program(that maps to a stored procedure present in standby db itself) that reads the data from standby and populates the relevant tables/entities in another database(third db, not primary or standby) which acts as a repository. No write operations are to be performed on standby.
    So, i have two doubts:
    -- Can scheduled jobs execute on logical standby db[Oracle release 10g(R2)]
    I was going through few of the oracle docs and it is mentioned that this is a known limitation in 10g
    R2 release and has been corrected in 11g. Now we have something called database_role
    attribute that needs to be set to 'LOGICAL STANDBY' if you need to execute a job on
    standby. However it is available in 11g onwards.
    -- If there is no workaround for the above mentioned problem in 10g-R2 release.
    Then we may have to schedule a job from third db instance that shall invoke the program(residing on the standby db). Can we have a scheduled job which executes a program that maps to a remote stored procedure instead of local stored procedure?
    Appreciate your thoughts.
    Thanks

  • SQL Server Agent Jobs- Not running

    Team,
    We have a production database hosted on SQL Server 2008R2 SP2(10.50.4000). We have application jobs which are scheduled and basically have packages called from this job. These jobs were running all good till yesterday and it has stopped working since yesterday
    even though its enabled. Manual runs are successful. Other jobs are running fine. 
    Checked the Owner of these jobs and the account is SQL Server account which is a proxy account. It had enforce password policy. I have removed that and reset the password to original. However it didnt work.
    The last change on this server was windows patching which was performed last week. Apart from that the SQL Server agent service was changed. This is a clustered environment.
    The last resort is restart the agent, however would like to get some inputs before I perform this action. 
    Please let me know your valuable inputs.
    Regards,
    Sharath

    If job is not executed at all, that is, there are no entries in the job history, check:
    1) The job is enabled.
    2) The schedule(s) is enabled.
    3) The scdedule does not have an end date has has passed.
    4) And that all other conditions on the schedule says that the job should run.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Scheduler Jobs that run between certain times?

    Is there an easy way to query which dbms_scheduler jobs run between any given times?
    If I look at repeat_interval in user_scheduler_jobs, for example, I've got things like "FREQ=DAILY; BYHOUR=14,16,18,20,8,10,12; BYMINUTE=30" and "FREQ=HOURLY; INTERVAL=2;" and "FREQ=DAILY;", and it's not therefore clear to me how I could write a query that would find which jobs run between (say) 17:00 and 19:00.
    Is there a function, or a neat bit of sql, that will 'explode' the repeat interval (presumably, in the case of the last two examples above, with reference to the start_date) into standardized times which I could then query? Or is there some other way of doing it?

    There are no schedules used here. The repeat interval is specified for all jobs at the time of creating the job.
    Besides, that wouldn't address the issue, even so. Even if schedules are in use, they declare their repeat interval in the form "freq=daily;byhour=3,4,5,6;byminute=0;bysecond=0", stored in a text field. Exactly the same, in fact, as the repeat_interval column in the user_scheduler_jobs column.
    So how do you derive from that the knowledge that the job can run some time between 2 and 8AM?
    I want to list all jobs which might start between those two times, but I do not know syntactically or logically how it is possible to query either user_scheduler_jobs or all_scheduler_schedules to select all rows where repeat_interval "is somehow covered by the time range 2 to 8".
    Thanks for replying, though.

  • HELP: scheduled jobs no run---searched a lot but still cannot resolve

    As for this problem, I have searched a lot by google, but I still cannot resolve it.
    I am using 11g on Linux.
    I delete all of jobs in my database.Then I configured a very simple periodic job as follows:
    begin
    DBMS_SCHEDULER.create_job (job_name => 'test2',
    program_name => 'test_program',
    repeat_interval => 'freq=secondly; INTERVAL= 4',
    auto_drop => FALSE);
    dbms_scheduler.set_attribute(name => 'test2',
    attribute => 'max_runs',
    VALUE => 100);
    dbms_scheduler.enable('test2');
    end;
    The program which the job is associated with is as follows:
    create or replace PROCEDURE TEST AS
    BEGIN
    INSERT INTO print_tab VALUES('come on');
    commit;
    END TEST;
    However the table is always empty and the job never runs, and the state shows "SCHEDULED".
    The facts are as follows:
    1. My database worked very fine until yesterday. This problem occurs suddenly.
    2. I also tried to reboot the system, but it did not work.
    3. I can manually run the job by DBMS_SCHEDULER.RUN_JOB('test2', TRUE);
    4 The process of CJQ, J0 are both running;
    5. the value of "job_queue_processess" is 10000, and also i changed it to other values, it did not work;
    6. the value of "MAX_JOB_SLAVE_PROCESSES" is 999.
    I really do not understand the reason. Who could you give me some guidance. If you need more diagnostic, please tell me how to get them. Great thanks.
    Message was edited by:
    KingMing

    There are many logs in      /u01/app/oracle/diag/rdbms/orcl/orcl/alert, which I checked from the manager console. Could you please help me take a look? Thanks
    r 22, 2008 8:16:47 PM EDT     UNKNOWN     16     
         Thread 1 advanced to log sequence 3114
    Apr 22, 2008 8:16:47 PM EDT     UNKNOWN     16     
         Current log# 3 seq# 3114 mem# 0: /u01/app/oracle/oradata/orcl/redo03.log
    Apr 22, 2008 8:16:46 PM EDT     UNKNOWN     16     
         Thread 1 cannot allocate new log, sequence 3114
    Apr 22, 2008 8:16:46 PM EDT     UNKNOWN     16     
         Private strand flush not complete
    Apr 22, 2008 8:16:46 PM EDT     UNKNOWN     16     
         Current log# 2 seq# 3113 mem# 0: /u01/app/oracle/oradata/orcl/redo02.log
    Apr 22, 2008 8:00:46 PM EDT     UNKNOWN     16     
         Thread 1 advanced to log sequence 3113
    Apr 22, 2008 8:00:46 PM EDT     UNKNOWN     16     
         Current log# 2 seq# 3113 mem# 0: /u01/app/oracle/oradata/orcl/redo02.log
    Apr 22, 2008 1:25:35 PM EDT     UNKNOWN     16     
         Thread 1 advanced to log sequence 3112
    Apr 22, 2008 1:25:35 PM EDT     UNKNOWN     16     
         Current log# 1 seq# 3112 mem# 0: /u01/app/oracle/oradata/orcl/redo01.log
    Apr 22, 2008 4:39:32 AM EDT     UNKNOWN     16     
         Thread 1 advanced to log sequence 3111
    Apr 22, 2008 4:39:32 AM EDT     UNKNOWN     16     
         Current log# 3 seq# 3111 mem# 0: /u01/app/oracle/oradata/orcl/redo03.log
    Apr 21, 2008 9:15:42 PM EDT     UNKNOWN     16     
         Thread 1 advanced to log sequence 3110
    Apr 21, 2008 9:15:42 PM EDT     UNKNOWN     16     
         Current log# 2 seq# 3110 mem# 0: /u01/app/oracle/oradata/orcl/redo02.log
    Apr 21, 2008 8:15:54 PM EDT     UNKNOWN     16     
         Thread 1 advanced to log sequence 3109
    Apr 21, 2008 8:15:54 PM EDT     UNKNOWN     16     
         Current log# 1 seq# 3109 mem# 0: /u01/app/oracle/oradata/orcl/redo01.log
    Apr 21, 2008 8:15:54 PM EDT     UNKNOWN     16     
         Thread 1 cannot allocate new log, sequence 3109
    Apr 21, 2008 8:15:54 PM EDT     UNKNOWN     16     
         Private strand flush not complete
    Apr 21, 2008 8:15:54 PM EDT     UNKNOWN     16     
         Current log# 3 seq# 3108 mem# 0: /u01/app/oracle/oradata/orcl/redo03.log
    Apr 21, 2008 3:19:00 PM EDT     NOTIFICATION     16     
         process start     ksbrdp:3527:3697353022     CJQ0 started with pid=39, OS id=8880
    Apr 21, 2008 3:19:00 PM EDT     NOTIFICATION     16     
         process start     ksbs1p_real:2133:2371767696     Starting background process CJQ0
    Apr 21, 2008 3:15:48 PM EDT     NOTIFICATION     16     
         admin_ddl     opiexe:2995:2802784106     Completed: ALTER DATABASE OPEN
    Apr 21, 2008 3:15:46 PM EDT     UNKNOWN     16     
         db_recovery_file_dest_size of 2048 MB is 0.00% used. This is a
    Apr 21, 2008 3:15:46 PM EDT     UNKNOWN     16     
         user-specified limit on the amount of space that will be used by this
    Apr 21, 2008 3:15:46 PM EDT     UNKNOWN     16     
         database for recovery-related files, and does not reflect the amount of
    Apr 21, 2008 3:15:46 PM EDT     UNKNOWN     16     
         space available in the underlying filesystem or ASM diskgroup.

  • Job not running in DBA_Jobs

    Hi,
    We have a job set in dba_jobs.
    Suddenly after 31st mar-2011 the job is not running
    The job of 31st mar 2011 is still in active state and exists in the database
    The details of the job are as follows:
    SELECT r.sid, r.job, r.this_date, r.this_sec, SUBSTR(what,1,40) what
    FROM dba_jobs_running r,dba_jobs j
    WHERE r.job = j.job;
    SID JOB THIS_DATE THIS_SEC
    439 65709 31-MAR-11 06:31:54
    A OS process also exists
    oracle 11130 1 0 Mar 31 ? 1:51 ora_j000_GAT
    SQL> select status, to_char(logon_time,'dd-mm-yyyy:hh24:mi:ss') from v$session where sid=439;
    STATUS TO_CHAR(LOGON_TIME,
    ACTIVE 31-03-2011:06:31:29
    SQL> select THIS_DATE,NEXT_DATE from dba_jobs where job=65709;
    THIS_DATE NEXT_DATE
    31-MAR-11 31-MAR-11
    In long running SQL
    439 SELECT TO_CHAR(HPEOP_EIN) EMPLID, NVL(HP GAT_OWNER 31-03-11:06:31:29 ACTIVE
    EOP_GRADE,' ') JOBCODE, NVL(HPEOP_PREFER
    RED_PHONE,' ') BT_PREFERRED_COMMS, NVL(H
    The jobs usually take 1-5 mins
    Can you please advice what needs to be done
    What could have happened.

    Can you kill the job from the OS?
    Then stop the job from running : set it to broken
    Find out why it doesn't stop this time: look in code and data.
    If you are confident it will not happen again schedule the job again.

  • Jobs not running anymore since midnight

    All my jobs that run minutely, half minutely, 10 minutely, hourly are all last run tonight before midnight.
    Next run date was set to the correct time after midnight but they did not start.
    Its a rac database under 64bit windows, 10.2.0.3.
    Its acutally two databases and on one stopping and starting instances one by one helped.
    On the other one the jobs (at least did run, or at least the next run data got updated) by the starting and stopping instances, but they still do not run at there regular intervals.
    Currently i am trying with one job, disabling, enabling, changing the schedule, it runs occassionaly but not ever half minute as it should.
    I did all the checks, no jobs running, there are not too many sessions, the job_queue parameters are correct....
    There is nothing in the alert log, only thing i can find is:
    jsksGetCurWindowId:1 got error 27468
    in the cjq0 logfile.
    Any further ideas or sugestions ?

    Do you use Oracle Scheduler (DBMS_SCHEDULER)?
    If yes...
    select * from DBA_SCHEDULER_GLOBAL_ATTRIBUTE where attribute_name='CURRENT_OPEN_WINDOW';
    What do you find "Window group"?
    If you find and then close it...
    Example:
    SQL> select * from DBA_SCHEDULER_GLOBAL_ATTRIBUTE where attribute_name='CURRENT_OPEN_WINDOW';
    ATTRIBUTE_NAME VALUE
    CURRENT_OPEN_WINDOW WEEKNIGHT_WINDOW
    SQL> exec DBMS_SCHEDULER.close_window ('WEEKNIGHT_WINDOW');
    If you use dbms_job, then try
    SQL> show parameter job_queue_processes
    NAME TYPE VALUE
    job_queue_processes integer 50
    SQL> alter system set job_queue_processes=0;
    SQL> alter system set job_queue_processes=50;
    surachart
    http://surachart.blogspot.com

  • Cron job not running - script uses rsync, ssh (with id_rsa)

    Does anyone know how to get cron to run a rsync/ssh script which uses id_rsa for passwordless logins?
    I have a backup script I have slaved for months over that works wonderfully when running it from the command line.
    It uses rsync and connects with SSH (passwordless using ssh keys). I have setup id_rsa and id_rsa.pub for passwordless logins (this is my user account, and connects using root@ to the server)
    As stated all works find when run from the command line. But when I setup a cron job to run this file (exact same line I run from the command line) it does not execute. Actually, it does run, as I have an email notifiction which sends to me. It is just the rsync/ssh part that does not run.
    I have spent days and days trying to figure it out. No error messages occur, nothing.  Took me a while to find out cron is emailing the user account on Lion the messages (not to a proper email address).
    The error shows a permission denied, which I believe to be the cron user cannot use the id_rsa/ssh connection.
    Cron is running the script as my user, the same I use on the command line. I even tried copying the id_rsa to the root user .ssh folder in case cron is running as root but that does not work either.
    So does anyone know how to get cron to run this rsync/ssh script which used id_rsa for passwordless logins?
    Thanks a lot

    YES! Got it working, finally!
    So the issue is indeed cron/launchd not being able to access the ssh-agent which holds the key.
    So this is the solution...
    Download keychain for Mac:
    http://www.funtoo.org/wiki/Keychain
    Then once its installed and configured, the script to run needs this added to the top:
    eval `keychain --noask --eval id_rsa` || exit 1
    Note I am using id_rsa whereas keychains instructions refer to id_dsa so I just changed it and it works OK.
    When the script runs the first time it asks for the key password. Then it works from then on.
    What I do not know yet is will I need to re-enter the password when I logoff/logon again. That will cause an issue as I auto restart the Mac every day which means if I am off for a few days backup will stop (can you see the madness in this issue!).

  • Job not running on expected time

    Hi,
    Please see the job details
    X NUMBER;
    BEGIN
    SYS.DBMS_JOB.SUBMIT
    *( job => X*
    *,what => 'BEGIN INVS_RIM_DATA_LOAD(''01A'',''RIMADMIN'',TRUNC(SYSDATE)); END;'*
    *,next_date => to_date('15/08/2011 23:09:00','dd/mm/yyyy hh24:mi:ss')*
    *,interval => 'TRUNC(SYSDATE+1)+23.15/24'*
    *,no_parse => TRUE*
    SYS.DBMS_OUTPUT.PUT_LINE('Job Number is: ' || to_char(x));
    END;
    commit;
    For taking the cold backup, db is shut down on every Friday 11:00PM and open by 02:30 PM Saturday. So job expected to run on Friday night will be running by Saturday 02:30AM. It is ok for us. But problem is job is not running on Saturday night.
    When checked on Sunday morning the user_jobs shows details as
    Last_date : 13-Aug-2011 02:30:14 AM
    Next_Date : 14-Aug-2011 11:09:00 PM
    Issue we are facing is job is not running on 13-Aug 11:09:00 PM
    Please help me to fix this issue.

    Well, it runs on the expected time (for me). This is your interval: TRUNC(SYSDATE+1)+23.15/24
    If the last job run at 13-Aug-2011 02:30:14 AM, then the next one should be:
    = TRUNC( '13-Aug-2011 02:30:14 AM' + 1 ) + 23.15/24
    = TRUNC( '14-Aug-2011 02:30:14 AM' ) + 23.15/24
    = '14-Aug-2011' + 23.15/24
    = '14-Aug-2011 11:09:00 PM'
    You can create an additional job which will work at Saturday nights. This is the easiest fix I can think.
    Regards
    Gokhan Atil

Maybe you are looking for

  • How to return more than one value from a  function

    hello everybody, Can anyone tell me how to return more than a single value from a function, the problem is i have 4 points, 2 points form one line ,another 2 points form 2nd line ,each point is 3 dimensional(x,y,z coorinates) so i will pass these val

  • Lacie HD and iMac G3

    Hi everybody, I have an external HD Lacie Hub mini with my new macbook. I have formatted The Lacie Hd in two partitions both in mac os extended journaled with guid partition table. With the macbook no problem, but if I connect the HD to my old iMac G

  • Removing photos from slideshow

    I have some photos in the slide show but one of them I want to remove How do I do that

  • Compare two members from the same dimension in HFR

    Hi, Is it possibe to compare two members from the same dimension in HFR? The requirement is to compare Year and Week members from the same dimension. The Week date will be selected from POV. The corresponding Year date should be displayed in the repo

  • My Macbook doesn't recognize cd's. How can I fix this? HELP

    Whenever I try to load/import/listen to a disk, my Macbook spins it around and spits it back out. Now, in System preferences, under CD's & DVD's, I can no longer choose iTunes under "When you insert a music cd." It immediately switches to the "Ignore