Skip to Content
author's profile photo Former Member
Former Member

How to run a job (program in it) every 48 hours

Dear All,

Can you please tell me how to run a job every 48 hours. I am not able to find suitable job option.

Thanks and regards,

Atanu

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

9 Answers

  • Posted on Aug 12, 2009 at 05:41 AM

    This message was moderated.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 12, 2009 at 05:46 AM

    This message was moderated.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 12, 2009 at 07:41 AM

    Hi,

    when editing start condition in SM36 (Define Background job), goto "Date / Time" check "Periodic job" and goto "Period values". In the following popup choose "Other period". There you are free to define in which cycle the job should start (48 hours).

    Regards,

    Peter

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 12, 2009 at 07:44 AM

    Call SM36, in "start conditions" click on "Period values", click on "Other period" put 2 days

    ([Periodicity: Specifying Automatic Job Repetition|http://help.sap.com/saphelp_nw70/helpdata/en/c4/3a7fa1505211d189550000e829fbbd/frameset.htm] in [Scheduling Background Jobs|http://help.sap.com/saphelp_nw70/helpdata/en/c4/3a7f87505211d189550000e829fbbd/frameset.htm])

    Regards,

    Raymond

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 12, 2009 at 07:58 AM

    Goto SM36, Select Date & Time Tab , and define the starting time, and then select the option periodic values and seelct other Periodic values and specify there as TWO days.......Save it all and you are done....

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 12, 2009 at 08:38 AM

    To the moderators,

    Whats wrong with the steps mentioned here? Why was this reply deleted? In which way was it against the rules of the forum?

    Shouldnt the reply be point by point wise?

    Hi,

    Follow these steps,

    1) Goto SM36

    2) Enter job name and define step with program name variant

    3) After that select start condition

    4) Choose data/time tab

    5) Enter todays date and time

    6) Choose periodic job check box.

    7) Click periodic values option next to save button

    8) Choose other periods option

    9) In hours field mention every 48 hours

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 12, 2009 at 08:43 AM

    whats wrong with the steps i mentioned????

    moderators plz reply..

    hi,

    did you try from SM36??

    1:there you have to give name of your program

    2:click on Date/Time

    3: Below click on Periods

    4: Other periods.

    5: enter 48 hours.

    ags.

    Add a comment
    10|10000 characters needed characters exceeded

    • >

      > ok so you mean there is no place for a Learner or a Newbie in SDN??

      >

      >

      > Posts: 11

      > Registered: 6/4/09

      > Forum Points: 0

      >

      >

      > between busy schedule a person might not be able to get an exact solution by searching your SDN "Search" tool.. try searching for "job run 48 hours" and see how many irrelevant results you get.

      >

      > moderators keep boasting about the SDN search as if its some Google search engine and will give you the best answer in 1st page.

      >

      > look if its a forum let people interact freely.. referring this as a BASIC question may be viable for a person with 1400 points but may not be applicable for a person with 'ZERO' (0) points. this does nothing but discourages posting in forumks....

      >

      > also let me remind you that i do remember to see a post by few moderators were discussing about enjoying parties and all.. dont they violate rules?

      > ags.

      Most of your concerns have already been discussed at length - check out the suggestions and comments forum. If you have complaints about a post, hit the abuse button. If you have complaints about a moderator, email sdn.at.sap.com.

      matt

  • author's profile photo Former Member
    Former Member
    Posted on Aug 12, 2009 at 09:08 AM

    Hi,

    1. Go to SM36 give the job name i.e. ZABC_MYJOB

    2. Click on Steps (Upper left corner - 2nd Button) and assign the ABAP report name .i.e. RSUSR002, Check and Save.

    3. Click on Start Condition (Upper left corner - Ist Button), click Date/Time and specify the Start Date and Time.

    4. Select "Periodic Job" and click on Period values now click on Other Period

    5. Now input 1 in the Minute Box. , and check and save.

    6. Again Check and Save. and Again Check and Save.

    7. Now save the job.

    This job will run after every 1 minut

    (OR) try the below steps.

    you can setup your job in order to start after an event.

    After that you can get the event triggered from the Operating System:

    - log into you Operating System with the SIDadm user id (at the Operating System level) and go to directory /usr/sap/SID/SYS/exe/run

    - Run the SAPEVT executable as follows :

    sapevt YOUR_EVENT -t pf=/usr/sap/SID/SYS/profile/DEV_DVEBMGS00_server001 nr=01

    This will raise the event, and cause the job scheduled within SAP to execute.

    In this way you can use the O.S. (u201Ccrontabu201D for example) functionalities in order to schedule your job between 9am to 6pm.

    Regards

    Shweta

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 12, 2009 at 09:47 AM

    Thats enough of repeating the same basic answer over and over again...

    Thread locked.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.