How to schedule job to execute after 5 seconds gap using the program

Hi ALL,
How to schedule the program to run after 5 seconds to execute using JOB_OPEN,JOB_CLOSE,SUB_SUBMIT function modules in which parameter I should give this 5 secnods?
Regards
mahesh

Hi,
You can use the import parameters of function module JOB_CLOSE
SDLSTRTDT & SDLSTRTTM
to pass the required start date and time (respectively) of your background job. That is, if you want the job to be scheduled and start at a fixed time (as in your case 5 seconds in the future), you can determine the start date and time as 5 seconds ahead of sy-uzeit and pass the resultant values to the mentioned importing parameters.
Cheers,
Aditya

Similar Messages

  • I have an issue with Acrobat, after a few uses, the program will not load, the only way to fix it is to completely uninstall the CS suite wipe the drive and reinstall the software, then after a few uses it stops working, how do i fix this?

    after a few uses, the program will not load, the only way to fix it is to completely uninstall the CS suite wipe the drive and reinstall the software, then after a few uses it stops working, how do i fix this?

    Not sure of an answer to your basic question, but it may be that you can run a repair (on Windows --> Control Panel>Programs & Features and run the repair on Acrobat). If that fixes the issue, at least temporarily, at least you will not be reinstalling everything -- a real pain.
    Next, open Acrobat and go to the Help to run the updates and be sure you are current. On some OSs, the updates are critical.

  • How to schedule jobs using

    Hello Gurus,
    I have a job in SM37 scheduled using the prog. RSBATCH1 with var.&0000000000049. When I go to SE38, give the program name and the var and execute it, there is nothing entered in the 'Jobname' in the user selection screen.
    But when it is executed it runs two(2) Infopackages for that variant.
    I want to remove one of the infopackages. How do I achieve this?
    Where can I get more info on how to schedule jobs using
    RSBATCH1.
    Thanks in advance
    Simmi

    Hi Simmi,
    If the variant is like "var.&0000000000049" in  the job then the program does not ahve any variant.
    To remove the infoapckage for that job goto the infoapckage -> scheduling tab -> Scheduling option -> remove the job from "after job" tab.
    Bye
    Dinesh

  • How to schedule job for APDs?

    Hi All,
    Does anyone have an idea how to schedule a job for APDs? There is a program called "RSAN_PROCESS_EXECUTE" and it can be scheduled, but it needs to be run with the specific APD. I will appreciate any help with points,
    Thanks

    I don't know what you mean when you say " ....needs to be run with the specific APD", but you can use the program to execute your APD in process chain by creating a variant, if you want to manually schedule, you can do so as well, rsanbw-> display the APD and schedule Icon on the top menu bar, that will give you scheduling options.
    thanks.
    Wond

  • How to schedule jobs in Oracle?

    Hello everyone,
    Can you explain me how to schedule job in oracle?
    I want to execute one stored procedure weekly. How would I schedule job to execute that procedure weekly?
    Regards
    Swati

    Swati wrote:>
    > Or can I schedule this job in oralce itself?
    > Regards
    Hi,
    before 10g:
    you may check the dbms_job package in ORACLE.
    simply it can execute i.e. a procedure with a scheduled time pattern:
    DBMS_JOB.SUBMIT (
       job       OUT BINARY_INTEGER,
       what      IN  VARCHAR2,
       next_date IN  DATE DEFAULT sysdate,
       interval  IN  VARCHAR2 DEFAULT 'null' );
    example (the commit is important because without it no job will be started): weekly job at 9 a.m.
    BEGIN
    DECLARE
    v_JobNum   NUMBER;
    BEGIN
    DBMS_JOB.SUBMIT(v_JobNum,'your_proc;',sysdate,'trunc(sysdate)+7+9/24');
    commit;
    end;
    END;
    sysdate: 
    your date when to execute it
    trunc(sysdate)79/24 :
    execute the job weekly , reset to midnight , add 9 hours. the interval has to be set that way that you avoid a sliding job
    10g and above:
    you have a additional package dbms_scheduler (a more advanced implementation)
    please check the documentation

  • How to Schedule Jobs to only run during a time window

    I have a long running task that needs to schedule jobs to process data.
    I only want these scheduled jobs to start during a specific window of time each day, probably 10:00 PM to 6:00 AM.
    If the scheduled jobs do not begin during the specified time frame, they must wait until the next day to start running.
    Each scheduled job will only be executed once and then auto dropped.
    How should I go about creating these scheduled jobs?

    Hi Jeff,
    I agree that the documentation isn't clear enough about the purpose of windows.
    You can indeed use windows for changing the resource plan, but you can also use them for scheduling your jobs.
    I did a simple test in real-time to illustrate the latter.
    At around 10.30 am today I created a table that will populated by a job:
    CREATE TABLE TEST_WINDOW_TABLE(EVENT_DATE DATE);
    Then, I created a window whose start_date is today at 10.40 am :
    dbms_scheduler.create_window(
                                 window_name     =>'TEST_WINDOW',
                                 resource_plan   => NULL,
                                 start_date      => to_date('10/04/2014 10:40:00', 'dd/mm/yyyy hh24:mi:ss'),
                                 repeat_interval => NULL,
                                 duration        =>interval '5' minute
    You can see that this window doesn't have a resource plan, and its repeat interval is NULL (so it will be opened only once).
    The window will stay open for 5 minutes.
    Finally, I created a one-off job whose schedule is the previously created window:
    DBMS_SCHEDULER.create_job (
                               job_name      => 'TEST_WINDOW_JOB',
                               job_type      => 'PLSQL_BLOCK',
                               job_action    => 'BEGIN insert into test_window_table values (sysdate); COMMIT; END;',
                               schedule_name => 'SYS.TEST_WINDOW',
                               enabled       => true,
                               auto_drop     => true
    Checking the user_scheduler_job_log before 10.40 would return no rows, which mean the job hasn't started yet since the window was not open.
    Now, from 10.40, it shows one entry:
    SQL> select log_date, status from user_scheduler_job_log where job_name = 'TEST_WINDOW_JOB';
    LOG_DATE                                                                         STATUS
    10/04/14 10:40:02,106000 +02:00                                                  SUCCEEDED
    The TEST_WINDOW_TABLE has also got the row:
    SQL> select * from TEST_WINDOW_TABLE;
    EVENT_DATE
    10/04/2014 10:40:02
    Voilà.
    In your case, since you want to run the jobs daily between 10 pm and 6 am (duration of 8 hours), the window would look like this:
    dbms_scheduler.create_window(
                                 window_name     =>'YOUR_WINDOW',
                                 resource_plan   => NULL,
                                 repeat_interval => 'freq=daily;byhour=22;byminute=0;bysecond=0',
                                 duration        =>interval '8' hour
    For your jobs, you may need to specify an end_date if you want to make sure the job gets dropped if it couldn't run in its window.

  • How to schedule jobs for brtools/oracle on EP

    How to schedule jobs for brtools/oracle (Update statistics
    Chech db
    Db verify
    ) on an EP system where as  no tool for java to do that (like db13). How to invoke it with cron?

    In Brtools you can always see the "Command line" before executing an action, You can simply copy that and use it to run BRTOOLS command from prompt, You can make a script with it and schedule via Cron.
    Regards
    Juan

  • How to schedule Job for data uploading from source to BI

    Hi to all,
    How to schedule Job for data uploading from source to BI,
    Why we required and how we do it.
    As I am fresher in BI, I need to know from bottom.
    Regards
    Pavneet Rana

    Hi.
    You can create [process chain |http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/502b2998-1017-2d10-1c8a-a57a35d52bc8?quicklink=index&overridelayout=true]for data loading pocess and schedule start process to any time/date etc ...
    Regadrs.

  • How to schedule job V3 unserialised Update job for Inventory

    Hi gurus,
    How to schedule job V3 unserialised Update job for Inventory management
    What are the things need to be configured
    Thank you

    Hi,
    In R/3 go to SBIW > Settings for Application-Specific DataSources (PI) > Logistics > Managing Extract Structures > Logistics Extraction Structures Customizing Cockpit
    UIn this Screen you can define delta type, and the jog usign the control job option.
    Regards,
    Dani

  • How to schedule jobs in cron using shell script

    Pls help me regarding that.
    Thanks

    Not sure about what do you want exactly.
    How to schedule jobs in cronhttp://www.adminschoice.com/docs/crontab.htm
    http://www.rahul.net/raithel/MyBackPages/crontab.html
    Nicolas.

  • How much does Premiere Pro and After Effects rely on the hard drive it's installed on?

    This may be a really dumb question, but how much does Premiere Pro and After Effects rely on the hard drive it's installed on if all your video files, assets, disk cache, etc are on different drives than the one the program itself is installed on?
    The reason I am asking is that I currently have a "relatively" slow Sata II SSD for my C drive that has just my OS (windows 7 64bit) and programs (adobe editing programs, no games) installed on it and nothing else. All of the files used in my projects are saved on either a very fast Sata III SSD or a slower HDD depending on what the files are. For example, disk cache on the Sata III, stills on the HDD.
    Being cyber monday I have the opportunity to buy another very fast Sata III SSD to replace my current Sata II SSD C Drive (just OS and programs). Both synthetic and real world benchmarks show a near double in performance. I just want to know if anyone thinks the upgrade is even worth it because for all I know there won't be any increase in performance since no videos, still, cach, etc will be stored on the C Drive.
    The alternative is to get a second monitor because I currently only use one 21" monitor.
    I suppose another alternative would be to not buy anything on the cyber monday deals and just save money for something else.
    Any advice or input would be greatly appreciated. Thanks!

    Thanks Alex! I think you are right about not being able to notice the difference between the SSDs. I ended up finding a deal to get about $80 off a great monitor that I've been looking at for a while and decided to pull the trigger on it. I thought about it and realized that there have already been a bunch of times where I want to watch a tutorial on youtube and follow allong in AE or PrePro, but have to keep switching windows. I also frequently want to have my video preview on a separate monitor so I can have a taller timeline window. This monitor will help a lot with that. Thanks again for your help!

  • Podcast application shuts down after seconds of use on 5th gen ptouch. On/off attmpt does not fix. Ideas?

    Podcast application shuts down after seconds of use on 5th gen ptouch. On/off attmpt does not fix. Ideas?

    See:
    iOS: An app you installed unexpectedly quits, stops responding, or won’t open
    Contact the developer/go to their support site if only one app.
    Restore from backup. See:
    iOS: How to back up

  • How to save report in PersonalCategory  after creating it using java panel?

    Hi,
    Anybody knows How to save report in PersonalCategory  after creating it using java panel?
    I dont want to save it in public folder. I want to save report (webi) in user's personal category.
    can anybody send me source code?
    It will help me a lot.
    Thanks in advance
    Amol Mali

    Hi teda,
    i'm assuming that you have seen my post that i did successfuly save report in user's personal category.
    Actually the report is created in webi java panel using RE SDK and  is saved in Report Sample Folder then i'm saving it in user's personal category by following code
    string query = "Select SI_PERSONAL_CATEGORIES From CI_INFOOBJECTS Where "
                         + "SI_INSTANCE=0 And SI_ID=" + reportID;
                    InfoObjects infoObjects = infoStore.Query(query);
                    InfoObject infoObject = infoObjects[1];
                    Webi wreport = (Webi)infoObject;
                    ObjectRelativeIDs personalIDs = wreport.PersonalCategories;
                /personalIDs.Add(Convert.ToInt32(categoryID));
                   infoStore.Commit(infoObjects);
    But the report is presents in the Folder also and in user's personal category also.
    I dont want the report to be in the folder (Report Sample) if i saved it in user's personal category.
    How can i do that?
    any idea.
    Please help me.
    Thanks in advance
    Amol Mali
    Edited by: amol mali on Jan 9, 2009 7:55 PM

  • I created a playlist with 100 songs.  I want those 100 songs played using the shuffle option.  This no longer works in iTunes version 11.1.5.5  How can I get an entire  playlist to paly one song after another by using the switch option?

    I created a playlist with 100 songs.  I want those 100 songs played using the shuffle option.  This no longer works in iTunes version 11.1.5.5  How can I get an entire  playlist to paly one song after another by using the switch option?

    You're welcome.
    Going back to your original post:
    5) Tried running Itunes in 'safe mode', running itunes as an administrator..nothing.
    Was that iTunes' safe mode as opposed to Windows' safe mode? iTunes safe mode is invoked by holding down CTRL+SHIFT immediately after clicking the icon to launch iTunes and continuing to hold until this message pops up:
    Click continue, then close iTunes and reopen. With luck iTunes now opens normally every time.
    tt2

  • After recording text using the dragon dictation app, it is converted, it can be copied to the iOS system clipboard for use in any app, how does the user access the clipboard to retrive this information if it is no longer on the screen?

    after recording text using the Dragon dictation app, it can be copied to the iOS systme clipboard for use in any app, how does the user access the clipboard to retrive this information if it is no longer on the screen?

    You need to do a long-press in any data entry field, then select Paste.

Maybe you are looking for