Create and Schedule Job - Problem

hi everyone,
I'm trying to write an Job which I would like to schedule. Function of this Job is to delete all entries older than 1 Month in the table "tabelle1". As I understand, you can put in job_action the procedure statement.
BEGIN
DBMS_SCHEDULER.create_job (
job_name => 'delete_all_entries',
job_type => 'PLSQL_BLOCK',
job_action => 'BEGIN DELETE FROM tabelle1 WHERE last_date < (SYSDATE - INTERVAL '1' MONTH) AND (status = 'processed'); END;',
start_date => SYSTIMESTAMP,
repeat_interval => 'FREQ=WEEKLY;BYDAY=SAT;BYHOUR=10;BYMINUTE=00',
end_date => NULL,
enabled => TRUE,
comments => 'Job defined entirely by the CREATE JOB procedure.');
END;
I get the following error message:
ORA-06550: Zeile 5, Spalte 118:
PLS-00103: Encountered the symbol "1" when expecting one of the following:
) , * & = - + < / > at in is mod remainder not rem
<an exponent (**)> <> or != or ~= >= <= <> and or like like2
like4 likec between || multiset member submultiset
06550. 00000 - "line %s, column %s:\n%s"
*Cause: Usually a PL/SQL compilation error.
*Action:
What am I doing wrong?.
Thx in advance!

Hi,
If you want to include a single-quote in a string literal, then use 2 single-qutoes in a row, like this:
'BEGIN DELETE FROM tabelle1 WHERE last_date < (SYSDATE - INTERVAL ''1'' MONTH) AND (status = ''processed''); END;',or use Q-notation:
Q'{BEGIN DELETE FROM tabelle1 WHERE last_date < (SYSDATE - INTERVAL '1' MONTH) AND (status = 'processed'); END;}',As you posted it, the single-quote right before the 1 indicated that the string literal ended there, and that 1 was outside of the qutoes.
By the way,
SYSDATE - INTERVAL '1' MONTH isn't always a valid date (when SYSDATE is October 31, for example).
Use
ADD_MONTHS (SYSDATE, -1)instead.
Edited by: Frank Kulash on Sep 18, 2012 9:41 AM

Similar Messages

  • Please help me in creating and scheduling jobs. Its very urgent.

    RDBMS: Oracle 9.2.0.4
    OS: win2k
    OWB Client: 9.2.0.2.8
    OWB Repository: 9.2.0.2.0
    Hi,
    I have created a "process workflow" using OWB and deployed it successfully. Now, I would like to schedule this process. I have installed management server and tried to schedule it but all in vain. I am not able to understand anything. I have read "oracle administrator pdf" and couldnt understand anything. Please dont advise me to read any notes or pdf's because I have tried a lot and was not able to figure out the configuration.
    I have a target database named "TARGET". I would like to schedule the workflow process I have created. I am not able to understand preferred credentials and how to execute the XML script generated by the "process workflow". Please help me coz its very urgent.
    -Aditya

    Why dont you try this? I found it after few tries,
    In the create job dialog box
    under General
    for Override Node Preferred Credentials for entire job
    username and password should be the NT or Unix
    login where your Runtime database Server reside.
    under Parameter
    for Override preferred credentials
    username and password should be of your runtime
    repository user
    Regards,
    Shree

  • Problem in Creating and Scheduling an ODI Scenario

    Hi,
    while Creating and Scheduling an ODI Scenario with the help of the following link:
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/10g/10135/creating_scheduling_scenario/creating_scheduling_scenario.htm#t2
    Oracle DI Agent is not listed in services window(Start>Control Panel>Administrative Tools > Services).
    What shall I do?
    please tell me.And in addition please tell me the use of the Oracle DI Agent and why should we stop its service before creating the schedule??
    Thanks
    Anindya

    Please also look into this link http://odiexperts.com/agent/
    First of all did you got any Error why creating Agent Server else the agent service should be visible.
    Else please try this step.
    Update Odiparams
    agentservice -i -s <agent_name>
    Go and look for Services starting with Oracledi_Agent_<agentNAME> and start it  Finally test the agent and you should be able to schedule.
    you dont need to stop the Agent for every new Schedule, but you will need to right click on Agent and click on Update Scheduling -http://odiexperts.com/scheduling-using-odi-scheduler/
    If you are getting an error please provide us the error info and step at which you got the error.

  • Error while creating a Scheduled job in OIM 11g

    While creating a scheduled job, if i click on the Task and search to select the value, i get the following error.
    <Nov 14, 2011 5:10:24 PM IST> <Error> <oracle.adfinternal.view.faces.config.rich
    .RegistrationConfigurator> <BEA-000000> <ADF_FACES-60096:Server Exception during
    PPR, #1
    javax.servlet.ServletException: java.lang.AssertionError
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
    a:341)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:57)
    at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:57)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.j
    ava:205)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:57)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter
    (RegistrationFilter.java:106)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterL
    istChain.doFilter(TrinidadFilterImpl.java:447)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter
    .java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterL
    istChain.doFilter(TrinidadFilterImpl.java:447)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilt
    erImpl(TrinidadFilterImpl.java:271)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilte
    r(TrinidadFilterImpl.java:177)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFi
    lter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:57)
    at oracle.iam.platform.auth.web.PwdMgmtNavigationFilter.doFilter(PwdMgmt
    NavigationFilter.java:122)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:57)
    at oracle.iam.platform.auth.web.OIMAuthContextFilter.doFilter(OIMAuthCon
    textFilter.java:108)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:57)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:1
    76)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:57)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:31
    3)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUt
    il.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.jav
    a:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:1
    61)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:57)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:13
    6)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:57)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsF
    ilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:57)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS
    ervletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC
    ontext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j
    ava:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused By: java.lang.AssertionError
    at org.apache.myfaces.trinidad.component.ChildArrayList.__removeFromPare
    nt(ChildArrayList.java:191)
    at org.apache.myfaces.trinidad.component.ChildArrayList.add(ChildArrayLi
    st.java:53)
    at org.apache.myfaces.trinidad.component.ChildArrayList.add(ChildArrayLi
    st.java:69)
    at org.apache.myfaces.trinidad.component.ChildArrayList.add(ChildArrayLi
    st.java:33)
    at oracle.iam.consoles.faces.render.canonic.UIValue$UIEntitySelector.sea
    rch(UIValue.java:1670)
    at oracle.iam.consoles.faces.render.canonic.UIValue$UIEntitySelector.acc
    ess$2400(UIValue.java:1467)
    at oracle.iam.consoles.faces.render.canonic.UIValue$EntitySelectorQueryL
    istener.processQuery(UIValue.java:1787)
    at oracle.adf.view.rich.event.QueryEvent.processListener(QueryEvent.java
    :67)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcast(UIXC
    omponentBase.java:675)
    at oracle.adf.view.rich.component.UIXQuery.broadcast(UIXQuery.java:108)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.r
    un(ContextSwitchingComponent.java:92)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._pr
    ocessPhase(ContextSwitchingComponent.java:361)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.bro
    adcast(ContextSwitchingComponent.java:96)
    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclu
    de.java:102)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.r
    un(ContextSwitchingComponent.java:93)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._pr
    ocessPhase(ContextSwitchingComponent.java:361)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.bro
    adcast(ContextSwitchingComponent.java:96)
    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclu
    de.java:96)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents
    (LifecycleImpl.java:902)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(L
    ifecycleImpl.java:313)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(Lifecyc
    leImpl.java:186)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run
    (StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri
    tyHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
    a:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:57)
    at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:57)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.j
    ava:205)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:57)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter
    (RegistrationFilter.java:106)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterL
    istChain.doFilter(TrinidadFilterImpl.java:447)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter
    .java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterL
    istChain.doFilter(TrinidadFilterImpl.java:447)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilt
    erImpl(TrinidadFilterImpl.java:271)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilte
    r(TrinidadFilterImpl.java:177)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFi
    lter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:57)
    at oracle.iam.platform.auth.web.PwdMgmtNavigationFilter.doFilter(PwdMgmt
    NavigationFilter.java:122)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:57)
    at oracle.iam.platform.auth.web.OIMAuthContextFilter.doFilter(OIMAuthCon
    textFilter.java:108)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:57)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:1
    76)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:57)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:31
    3)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUt
    il.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.jav
    a:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:1
    61)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:57)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:13
    6)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:57)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsF
    ilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
    va:57)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS
    ervletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC
    ontext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j
    ava:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    >
    This behavior is seen in most of the lookups when we try to search for value.
    Please let me know for any configuration steps for the same issue.

    Have you tried restarting the db and the server? I have seen this on user search and a db restart along with server restart solved it for me. Also note that this error in my case was due to wrong mds file. so for you also check ur tasks and any custom xml which might have some errors into it.
    HTH,
    BB

  • Create and schedule iBot to seed cache with  the saved query

    Hi all,
    May I know how to Create and schedule i Bot to seed cache with the saved query((iBot to run right a daily load to reseed the cache)

    Here is the documentation:
    10g
    http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/b31767.pdf
    11g
    http://download.oracle.com/docs/cd/E21764_01/bi.1111/e10544/delivers.htm#i1060405

  • What is released job and scheduled job?

    Hi BW experts,
    Please let me know what is released job and scheduled job?

    Hi
      <b>Released job</b>:The job has been fully defined, including a start condition. Without a start condition, a job cannot be released.
    Only an administrator or a user with appropriate authorizations for background processing can release a job, preventing unauthorized users from running jobs without approval.
    <b>scheduled job:</b> The job which is scheduled for a particular time and that will come into the queue of jobs to which time it is scheduled.
    U can see these jobs in SM37 tcode

  • Analytical snapshots and scheduled jobs

    Hello,
    for extended analytical reports we need to make the snapshots of our statistic datas every day.
    There is an option of doing snapshots of the Project in Project Management, but we need to have snapshots of our own BO's or data sources. Is there any possibility to do this?
    In case snapshots can't be done by the system we also would perform it in coding, by creating business objects with required datas and saving them. But we need to do the saving automatically (regularly).
    In Project Management it is also possible to run scheduled snapshots. How can we schedule jobs (it would be enough if we could execute an action which saves our datas at scheduled time)?
    We have found only "Mass Data Run Process" in this context but the MDR's can be done only for the special standard Floorplans, aren't they?
    Best regards,
    Leonid Granatstein.

    Hi,
    currently it is not possible to create snapshots for partner BO content by a standard process.
    Also defining a mass data run object, which you could schedule and where you could implement the snapshot by yourself, is not available for partners yet.  So we have no standard mechanism available to get your task done with the use of the current implementation possibilities.
    The only option I see is that you develop the snapshot activity on your own in ByD studio.
    To trigger the snapshot activity on a regular basis, I only see the option to trigger this from outside. An option would be to define a web service or an XML file upload.
    You could write for example a small program ( by using PHP or .NET) on a PC which runs on a regular basis and which uploads an XML file or calls a web service. This then triggers the snapshot activity you have programmed in ByD Studio.
    I hope this helps.
    Regards,
    Thomas

  • Newbie: help on creating a scheduled job

    Hello,
    I want to do the following :
    I have a query for example
    select col1, col2, col3 from table1 where col1 is not null
    I want to tabulate the result in a flat file putting the data in csv style.
    I know how to do this using JDBC, but I want to learn how to make this happen just using oracle console. Is there any way I can write some kind of scheduled job that will make this happen. Runs the query, creates the flat file?
    Thanks and Regards,
    Rumpa Giri

    Rumpa,
    You can do the following to get the data in a HTML pages directly provided your DB version is 9.2.0 onwards as you didn't mention that.
    login to sqlplus
    set markup html on;
    spool c:\a.html;
    select * from <table name> or your desired query.
    spool off
    set markup html off;
    Regards,
    Indraneel

  • Can not create Azure Scheduler Job Colloection correctly via rest API

    Hi Folks,
    I am trying to create a Azure Scheduler job collection via the rest API using Azure Ruby SDK
    I created the request following the API reference. Request body is as follow:
    <Resource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/windowsazure">
    <IntrinsicSettings>
    <Plan>Standard</Plan>
    <Quota>
    <MaxJobCount>10</MaxJobCount>
    <MaxRecurrence>
    <Frequency>Second</Frequency>
    <Interval>1</Interval>
    </MaxRecurrence>
    </Quota>
    </IntrinsicSettings>
    </Resource>
    After sending the request, I can see the job collection created in the management portal, but the status of that job collection is "Unknown". I can not add add/update jobs under that job collection.
    Below is the log entry I got:
    RuntimeError (ESC[31mESC[1mInternalError: The server encountered an internal error. Please retry the request.ESC[0mESC[0m):
    Can someone shed me some lights on this?
    Thank you very in advance!
    Roy

    Hi Roy,
    I am not good at Ruby. But I didn't find any maintenance  information from azure dashboard. The issue is very weird,I will test it on my side and come back.
    Thanks & Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Howto change NLS_ENV variables when creating Oracle Scheduler jobs

    Hello,
    i have installed EMGrid 10.2.0.3 x86_64 and 10.2.0.3 agent on other computer. With standard NLS_LANGUAGE='AMERICAN' NLS_TERRITORY='AMERICA' settings.
    When I create DB job with EMGrid Oracle Sheduler interface, NLS_xx parameters are set as NLS_LANGUAGE='AMERICAN' NLS_TERRITORY='AMERICA'.
    How can I change the default settings to NLS_LANGUAGE='CZECH', NLS_TERRITORY='CZECH REPUBLIC' when creating DB jobs with EMGrid?
    Thanks for reply.
    Regards,
    Stanislav Studeny

    Hi,
    You need to call the create_job (or submit) procedure from a session which has the appropriate NLS settings set. I can think of two ways of doing this from EMGrid
    - create a stored procedure which takes in job parameters, does appropriate "alter session" statements and then calls create_job/subit with the passed in parameters. You can then call that stored procedure from EMGrid
    - create a job from EMGrid which as the action does the alter session statements and then creates the real job
    Hope this helps,
    Ravi.

  • Database shutdown and scheduled jobs

    Hi:
    We are planning to shut down our server for two days, and would like to know following.
    1. We have about 100 jobs scheduled throughout the day. We will shut down the server for two days. What will happen when we restart the server, will same daily scheudle job will execute twice ?
    2. Is there any place in OEM where you select all schedule jobs and suspend all ?
    3. Is there any place in OEM where you select all suspended jobs and resume all ?
    Thanks

    Hi,
    If all your jobs are running from OEM, then simple solution will be to define blackout period for the duration your server will be out, so when the server comes up then jobs will be started except for the jobs to be run during black out period.
    Regards

  • Launchd and scheduled jobs

    From what I've read, you can't rely on launchd for scheduled jobs - in my case I want to back up at 3am in the morning - upon it being woken by another application.
    Now that cron is disabled - how can I achieve this scheduled tasks?
    I cannot believe that Apple have released into production a component that simply does not work ( that relies on the machine being on 100% without sleeping etc ).

    Hi Stewart:
    I can't speak to 10.4.3, but in 10.4.2, I just rebuilt my /etc/crontab file the way I wanted it, because cron still is a part of 10.4.2, and my Mac stays on 24x7.
    Looking at the "OEM" version of Tiger's crontab, it appears that what they did was basically make a crontab file full of comment lines, so I guess when cron parsed it, there was nothing there telling cron that it had to launch something.
    So, if you make a bonafide crontab file, I think (in 10.4.3) you'll be okay. If you don't recall the format for the crontab file, or don't have access to an old legacy one from 10.2 or so (I never had 10.3 so don't know whether they used cron or launchd), I can post mine here, if you'd like, that you could use as a model. I'll check back sometime later this week and see if you'd like me to post it here.
    Anyhow, after I made a new crontab file, I had asked on this forum how to disable the launchd daily/weekly/monthly stuff. Although it isn't important to do so, I figured, why run it more often than once daily/weekly/monthly, at what I understood would be random times of day, if the jobs would even be run at all, based on all the reports about undesired behavior caused by reboot, sleep, etc.?
    Some smart person on this forum told me that I could take the three com.apple.periodic-daily/weekly/monthly.plist files and save them off somewhere else other than in /System/Library/LaunchDaemons. So I just tarballed 'em (tar -cvvvzf com.apple.periodic-\*.plist.tgz com.apple.periodic-monthly.plist com.apple.periodic-weekly.plist com.apple.periodic-daily.plist) and left the tarball right there in /System/Library/LaunchDaemons, then deleted the originals. If I ever need 'em again I can just "tar -xvvvzf com.apple.periodic-\*.plist.tgz".
    So as near as I can tell, I don't even have to fuss about whether the daily/weekly/monthly jobs are being launched by launchd, and as near as I can tell, the daily/weekly/monthly jobs are being run daily, weekly, and monthly, as appropriate, and at the desired times of day, by cron and crontab.
    Quicksilver G4   Mac OS X (10.4.2)  
    Quicksilver G4    
    Quicksilver G4    

  • Sqlplus script to disable alerts and scheduled jobs

    Hi
    We have a painful task after every clone to manually disable oracle alerts (all 1000 of them from alerts -alerts manager responsibility) and also disable scheduled concurrent jobs (again all 1000 scheduled jobs) manually checking all pending jobs.
    its ok to have them in prod but not test.
    Is there a sql script which can disable ALL alerts and another sql which stops all scheduled request jobs in concurrent requests screen.
    Thanks
    aj

    A similar query is used as part of the document listed above.
    There is a need to change two sets of concurrent requests to prevent execution on a cloned instance.
    1) Terminate 'Running' Requests
    2) Set Pending jobs to 'On Hold'
    1) Set Terminating or Running to Completed/Terminated:
    UPDATE fnd_concurrent_requests
    SET phase_code = 'C', status_code = 'X'
    WHERE status_code ='T'
    OR phase_code = 'R';2) Place Pending/(Normal/Standby) to On Hold:
    SQL> UPDATE fnd_concurrent_requests
    SET hold_flag = 'Y'
    WHERE phase_code = 'P'
    AND status_code in ('Q','I');

  • Scheduling job problem and modification in the bat file

    Dears ALL
    i am using the following script in windows 2003 server for oracle database 10 g i have one problem of scheduling the task i scheduled it successfully on windows scheduled task program but its not running at scheduled time and even when i run this bat file manually this give the security warning The publisher could not be varified,Are u sure u want to run this software? when i click on yes then it runs the bat file may be thats the problem in aslo scheduled how to remove this warning
    2ndly i want to do some changes in my script like this that it removes the same file older than 3 days means it jst have the last three dumps and will remove the olders the script is as
    @echo off
    CLS
    REM ********************************
    SET V_USER=riyadh
    SET V_PASSWORD=riyadh
    SET V_DB=vis
    SET V_DMP_PATH=D:\dump\
    REM ********************************
    ECHO.
    SET EXP_PATH=D:\oracle\visdb\9.2.0\bin\
    SET MONTH=%DATE:~4,2%
    SET YEAR=%DATE:~10,4%
    SET DATED=%DATE:~-7,2%
    ECHO ECHO CONNECT AS : %V_USER%/%V_PASSWORD%@%V_DB%
    ECHO Backup on : %DATED%/%MONTH%/%YEAR% (DD/MM/YYYY)
    ECHO SAVE AS : %V_DMP_PATH%%V_USER%_%DATED%%MONTH%%YEAR%.dmp
    ECHO TITLE BACKUP ...%V_USER%_%DATED%%MONTH%%YEAR%
    echo.
    %EXP_PATH%EXP.exe %V_USER%/%V_PASSWORD%@%V_DB% file=%V_DMP_PATH%%V_USER%_%DATED%%MONTH%%YEAR%.dmp log=%V_DMP_PATH%%V_USER%_%DATED%%MONTH%%YEAR%.log
    THANKS A LOT

    Solution:
    Run gpedit.msc
    Go to User Configuration >> Administrative Templates >> Windows Components >> Attachment Manager
    i have followd all the steps as it is but when i open the Inclusion list for moderate risk file types its not configured and the msg below this is Supported on: At least Microsoft Windows XP Professional with SP2
    and i have windows 2003 server so how to add it or enable it etc
    THANKS a lot for ur reply

  • Enabling Recovery and scheduled jobs

    We have a job that is scheduled to run every three hours and we have it set up to enable recovery.  The job has about 10 dataflows in it.  If the job fails and is not corrected should the next run of it in three hours pick up from the point it failed or would it start at the beginning?  It appears to be starting again at the beginning.
    In some cases the job is not actually failing (i.e. no red X) but we get a warning even though the trace log message is "Process terminated because its parent had died.".   There is no error log but the job does stop.  I am wondering if because the system does not see it as an error the next run would just start new vs recovering.

    Arun - We tried the following test.
    A test job has 3 data flows in which  2nd Data Flow does not work as it has authorization issue .
    Scheduled a test job where work flows are normal(No recovery unit set) and execution parameter  ‘Enable Recovery’ was set .  Scheduled the job to repeat every 7 minutes.
    First run as per the Schedule ,failed due to 2nd data flow issue.
    Second run as per the schedule (2nd Data flow was corrected), Recovered, and started from the failed step that is 2nddata flow.
    Third run and Fourth Run as per the Schedule (7 and 14 minutes later) but no dataflows were executed.
    It looks like it uses the recovery information from the 2nd run (which completed the first run successfully) and then ran nothing.  I would have expected that the job would have run from the first dataflow since the prior job had completed succesfully. 
    Any thoughts on how we can set this up in an automated fashion so that if a run is recovered and completes successfully the next run will start from the beginning?

Maybe you are looking for

  • Upgration from 6.5 to XI 3.1 doesn't show up data in report

    Hi Expert, I have a report which was in BO 6.5 version  and this is upgraded to XI 3.1. When i refresh the report after upgration, the report going into structure mode instead result mode. When i try to convert that into result mode, the system is ha

  • Integration broker node authentication question

    I want to create a User ID that can authenticate an IB Node but cannot log into PeopleSoft through the PIA like normal users. How do I go about doing this? Is is jus a ol issue?

  • How do I move my music between computers?

    I have a desk top compaq that i was downloading on,lately I bought a labtop to do my work on and downloading music.My ? is how do i get my music to tranfer from my account I have the same password and user id but only a small amount of my music shows

  • 'mode' is not recognized as an internal or external command

    Hi All, We have installed Redwood Platform agent (windows-x86.exe -Windows (x86 32-bit)) on windows 2003 server. Windows Server version: u201CWindows 2003 x64 Ent R2u201D Installation drive is D: We have executed jobs (DOS Commands) on Windows server

  • Reg:Oracle database Review

    Dear all, i need a review document of oracle 9i,10g,11g.please send me the procedure/step/commands of oracle, how to review Oracle database. Regards Sachin agarwal