Alternate way to Schedule a Job

Hi,
I don't have permission to schedule a Shell job in crontab. Is there any alternate way to schedule a job in linux server.
Thanks,
Aravindh K

1. ask for permission
2. write a script with an endless loop
while true
/path/to/script.sh
sleep 3600   #=1h
donehth
i'm sure there are more ways to do that

Similar Messages

  • Easy way to schedule a job to run for a set period?

    Is there an easy way to schedule (dbms_scheduler) a job to run for a set period -say, half an hour- and then to stop.
    Currently, I schedule a procedure to do the work (a bunch of inserts or updates, say) and the first line of that procedure assigns sysdate to a variable when it starts. Then as the procedure loops through its work, I compare the current sysdate with that original one, and if the new sysdate>original one by more than 30 minutes, I raise an application error. But it's messy, and I was wondering if there was a nicer way of doing it?

    "Admin" -I think you'll find that 'end_time' merely states a time after which the job will not be run. It doesn't do anything to kill off a job which is already running at the time that comes round. Similarly, repeat_interval merely states how often the job should be run, not a time interval within which it must run and outside of which it must stop being run.
    Satish: your suggestion looks great. Do you have, or know of, any examples where that is used, though? The doco you pointed to says the parameter raises an event, but that it's up to my event handler to deal with it. I wouldn't have the first idea of how to deal with this in code myself. If I could see a simple example, it would help a lot! Unfortunately, that page doesn't contain such an example!

  • What is the best way to schedule a job for PI interface?

    Hi,
    I have this PI scenario to implement.
    Every day, something (?) needs to trigger PI to call RFC function, get the data and insert it to database.
    What is the best practice to schedule such a job in PI?
    I want to know best practice to trigger PI interface and how to schedule it.
    Also, do I have to use BPM for this?
    Thanks for your help.
    -Won
    Edited by: WON HWANG on Sep 10, 2010 11:21 PM

    Hi Won,
    it depends a bit on the scenario that needs to be implemented. I will try to go point by point and give you the options
    1. You will need to send a message to PI
         - This can be from PI or from ECC. I suggest you use an ABAP proxy client.
         - You will need to write an ABAP program that sends this message (calling the proxy client).
         - You can schedule this program in a job (SM37).
         - If users want control over the job, better schedule it in ECC; if only you or an administrator will control the job, you can do it in PI
         - I would use a generic format which you can reuse to trigger other interfaces: From- and To-date, Context, Action, User
         - You can have conditions in the Receiver Determination and Interface Determination to route the message to the correct interface, based on the Context and Action for example.
         - From- and To-date can be used to make selections in any RFC or table query.
    2. You will need a BPM process in PI
         - Step 1: Receive the trigger
         - Step 2: Call the RFC
         - Step 3: Send to database
    this is because the RFC call is synchronous, and you cannot route the response to another receiver than the sender of the RFC call. Another options is writing a wrapper in ECC around the RFC function, and at the end implement another PI ABAP proxy client that will be routed to your database interface.
    Hope this helps.
    kr
    Peter Glas

  • Schedule background jobs at OS level.....

    Hi All,
    Scheduling Background Jobs at SAP Level is a very simple task. Is there any way to schedule background jobs at OS level? Please lemme ASAP....
    Thanks
    Rhishabh

    Hi Rhishabh,
    Actually we can not completely schedule background at OSLevel but we can trigger a background job which has alreadyscheduled by using sapevt tool syntax as follows.
    sapevt <event name> nr=<instance name> name=<host name>
    or we have tool like
    In unix you use crontab.
    We can use different job scheduling softwares like IBM TIVOLI software MAESTRO JOB SCHEDULING CONSOLE, Control M
    Regards,
    Kiran M

  • How to schedule a job from Apex?

    Hi all.
    I want to know the best way to schedule a job using Apex:
    - DBMS_JOB?
    - DBMS_SCHEDULER?
    - Build a wrapper?.
    - Any other thing i am not aware of?-
    Could an example be to much to ask?
    Regards, Luis ...!

    Hi Luis,
    Apex already provides you an built-in wrapper to dbms_scheduler, so you don't have to do.
    You should use this http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21676/apex_plsql_job.htm#AEAPI1203
    Thanks

  • Schedule multiple jobs/test runs

    Hi,
    Is there a way to schedule multiple jobs/test runs with oats 9.10?
    It seems it is only possible to schedule a single job, by setting the start time in OLT...
    Any suggestions?

    Hi
    I'm talking about functional tests.
    In OLT when you set the auto-pilot you can schedule the test to start after a delay of xxx minutes or at some exact time, however I have never used that fixture.
    Regards
    Alex

  • Scheduling a job fro BDC program

    Hi,
    Is the any way to schedule the job from BDC program?? Please let me know if any one knows. It is bit urgent.
    Rupu.

    Hi Rupu,
    There is a way.
    At the end of  BDC program you can use RSBDCSUB program.
    syntax is :
    SUBMIT RSBDCSUB.
    Reward me if it is helpful..
    Kumar

  • Schedule background jobs which run only on Thursdays.

    Dear Friends,
    We are using ECC6.00. I have a requirement whereby a specific job (background) should be executed only on Thursdays. I searched in this forum but couldn't get anything related to my question. I tried the options present in the SM36 transactions (scheduling options).
    Is there any way of achieving my requirement.? Experts help required.
    Regards,
    M.M

    Hi Magesh,
    I am not sure if this would be the right approach. But if you are really sure that there is no way to do this using SM36 settings,
    you can schedule a job to execute daily, which would be a custom abap program.
    This program would check the day and if it is a thursday ,will schedule another job for the day(programatically).
    This can be a way around to solve this problem.
    Regards,
    Sagar

  • HOW TO SCHEDULE A JOB TO RUN EVERY 30 MINS WITHOUT USING SCHEDULAR?

    Hi,
    I have a requirement where i need to schedule the job to run every 30 mins for 10 am to 10 pm. I ran into problems using odi schedular. Let me tell you what i did..
    i have chosen the active mode between 10 am to 10 pm
    selected on startup/simple.
    and on the repetitions tab selected many times with 30 mins duration.
    the problem was-----
    a)it was not stopping at 10 pm but continues after 10 pm
    b)randomly picking up more times than the 1/2 hour duration.
    looking for---
    a solution that runs my scenario every 30 mins from 10 am to 10 pm without using the schedular...which i cannot trust.
    Regards
    Venkat

    Venkat,
    Here is an alternate solution that i can think of:
    create a package with the following components:
    Variable(Refresh) -> OK -> Execute StartScen(YourJob) in Asynchronous mode -> odiSleep(30 mins) -> Loop to Variable Refresh
    Variable (Refresh) -> KO -> odiSleep(30 mins) {if the refresh of the variable fails to get any value then skip the Job execution}
    The Refresh query should be
    select 1 from dual where to_char(sysdate, 'hh24mi') between  '1000' and '2200'

  • How to: Schedule a job to run on the first business day of the month

    In Oracle 10.2.0.3, is there a way to schedule a repeating job to run on the first business day of the month? For example, if the first of the month falls on a weekend (such as Saturday, 11/01/2008), I would like the job to run automatically on Monday (for example, 11/03/2008) instead.

    set serveroutput on
    begin
      print_dates('FREQ=MONTHLY;BYDAY=MON,TUE,WED,THU,FRI;BYSETPOS=1;',
          to_timestamp_tz('01-JAN-2008 12:00:00','DD-MON-YYYY HH24:MI:SS'), 12);
    end;
    Gives:
    TUE 01-JAN-2008 (001-01) 12:00:00 -07:00 -07:00
    FRI 01-FEB-2008 (032-05) 12:00:00 -07:00 -07:00
    MON 03-MAR-2008 (063-10) 12:00:00 -07:00 -07:00
    TUE 01-APR-2008 (092-14) 12:00:00 -07:00 -07:00
    THU 01-MAY-2008 (122-18) 12:00:00 -07:00 -07:00
    MON 02-JUN-2008 (154-23) 12:00:00 -07:00 -07:00
    TUE 01-JUL-2008 (183-27) 12:00:00 -07:00 -07:00
    FRI 01-AUG-2008 (214-31) 12:00:00 -07:00 -07:00
    MON 01-SEP-2008 (245-36) 12:00:00 -07:00 -07:00
    WED 01-OCT-2008 (275-40) 12:00:00 -07:00 -07:00
    MON 03-NOV-2008 (308-45) 12:00:00 -07:00 -07:00
    MON 01-DEC-2008 (336-49) 12:00:00 -07:00 -07:00
    and the print_dates function is (10.2):
    create or replace procedure print_dates
      cal_string in varchar2,
      start_date in timestamp with time zone,
      nr_of_dates in pls_integer
    is
      date_after timestamp with time zone := start_date - interval '1' second;
      next_execution_date timestamp with time zone;
    begin
      dbms_output.put_line('  -->');
      for i in 1 .. nr_of_dates
      loop
        dbms_scheduler.evaluate_calendar_string
         (cal_string, start_date, date_after, next_execution_date);
        dbms_output.put_line(to_char(next_execution_date,
                        'DY DD-MON-YYYY (DDD-IW) HH24:MI:SS TZD TZH TZR'));
        date_after := next_execution_date;
      end loop;
    end;
    [\pre]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to schedule a job for transaction CG36, incl. variant?

    Hi all,
    When you enter transaction CG36, you need to select a User Exist (EHS_DXSDB). After that you need to define a file path.
    I would like to schedule a job for transaction: CG36 > Define User Exit: EHS_DXSDB (Import Dok-X material Safety Data Sheets) > and define a path. With transaction SE93, I found program name: RC1RIMPS (program is allowed to be job scheduled), only I can't create a Variant (to define the user exit and file path, no selectionscreen), how to create a variant?
    The following programs can't be scheduled either (as they are not of type 1 or J):
    SAPLC131
    SAPLC1EO
    SAPLC3G
    Thank you in advance!
    Kind regards,
    Roy Derks

    Hello Roy
    I am sorry. To my knowledge up to ECC 6.0 Enhancement Pack 4 there is no SAP EH&S process available there you can do what you are requesting. The "problem" is that you need to "answer" the user dialog. Therefore you can not generate/prepare a variant which could be processed as a job according to my knowledge.
    Therefore in my opinion you have this option only: prepare a copy of the transaction (or only the report) using either "Z" or "Y (customer reports). Then you need to exclude some line in the code (which gives rise to the user dialog) and prepare some customer specific coding so that the resulting report can be used in such a way that a variant is possible, but you must make sure that the process later (the real upload process) is processed too in this "job" queue. IN any case: you need to check the log of the report and this must be done by an user. Therefore an automatic process does have some "risks"
    The topic of import of reports is used in most cases during a set up of EH&S, because of mergers/acustions but not in the daily work with EH&S and there I believe that SAP does not support this demand.
    With best regards
    C.B.

  • How to schedule a job every 10 minutes from 07 to 19 from Monday to Friday

    Hi,
    I would like to schedule a job in a way that runs every 10 minutes starting from 07 up to 19 from Monday to Friday
    How to do this?
    thanks in advance
    lk
    Oracle rdbms 10.2.0.4

    Off the top of my head :
    begin
    dbms_scheduler.create_job('OTN_JOB',
       job_action=> 'YOUR_STORED_PROCEDURE'  ,
       repeat_interval => 'FREQ=DAILY; BYHOUR=07,08,09,10,11,12,13,14,15,16,17,18,19; BYMINUTE=0,10,20,30,40,50',
       job_type=>'STORED_PROCEDURE', enabled=>TRUE);
    end;
    /Best Regards
    mseberg

  • How to schedule a Job in SAP DS ?

    AFAIK, a SAP data services job is an ATL (i.e XML) file/code. How do we schedule this code to run automatically ? What runs it ?
    In SSIS, Job = Package and it can be scheduled as a *job* in SQL server Agent. The agent runs it as per your schedule. So,
    is there some kind of server which executes the code in the ATL file ?

    Hi Terry,
    There are three ways you can manage batch job schedules
    1. Using the job scheduler
    When you schedule batch jobs using the SAP Business Objects Data Services job scheduler, it creates an entry in the operating system's scheduling utility on the Job Server computer. Windows uses the Task Scheduler and UNIX systems use the CRON utility. (Note that if you make changes to a schedule directly through these utilities, the job scheduler will not reflect those changes.)
    2. Scheduling jobs in SAP Business Objects Business Intelligence platform
    If you are using SAP Business Objects Business Intelligence platform and you want to manage your
    SAP Business Objects Data Services job schedules in that application, first create a connection to a
    Central Management Server (CMS), then configure the schedule to use that server.
    3. Using a third-party scheduler
    When you schedule jobs using third-party software:
    • The job initiates outside of SAP Business Objects Data Services.
    • The job runs from an executable batch file (or shell script for UNIX) exported from SAP Business Objects Data Services.
    Note:
    When a third-party scheduler invokes a job, the corresponding Job Server must be running.
    Regards
    M Ramesh

  • How to schedule two jobs from two different work repository at a time?

    Hi All,
    I have a scenario where I want to schedule two jobs at a time from two work repository.
    Explanation:
    Master Repository-A
    Work Rep-B
    Work Rep-C
    Now I need to schedule two scenario one from Work rep B and other from Work Rep-C
    As we know that odiparams batch file contains the connection details and at one time it can hold only one work repository name.
    Odiparams data:
    rem Repository Connection Information
    rem
    set ODI_SECU_DRIVER=oracle.jdbc.driver.OracleDriver
    set ODI_SECU_URL=jdbc:jdbc:oracle:thin:@10.10.10.10:1521:orcl
    set ODI_SECU_USER=odi_snpm
    set ODI_SECU_ENCODED_PASS=aYyHZZCrzk5SjQ9rPOIUHp
    set ODI_SECU_WORK_REP=*ODI_LOCALDEV_WRKREP*
    set ODI_USER=SUPERVISOR
    set ODI_ENCODED_PASS=LELKIELGLJMDLKMGHEHJDBGBGFDGGH
    Scheduler agent will pick this information from the odiparams file and update the schedule.
    So If I want to schedule two job, how it is possible?
    I tried all possible things but didn't get the proper solution?
    Edited by: user10765509 on Jul 21, 2010 4:58 AM

    You can do it in the following way
    1. copy/paste the original odiparams.bat file
    2. give it a name say odiparams_a.bat
    3. specify the work repository A related information in odiparams_a.bat
    4. Make another copy of odiparams.bat file
    5. give it a name say odiparams_b.bat
    6 specify the work repository B related information in odiparams_b.bat
    7. now make 2 copies of agentscheduler.bat give the name as follows
    agentscheduler_a.bat and agentscheduler_b.bat
    8. edit agentscheduler_a.bat and change
    call "%ODI_HOME%\bin\odiparams.bat"
    with
    call "%ODI_HOME%\bin\odiparams_a.bat"
    9. edit agentscheduler_b.bat and change
    call "%ODI_HOME%\bin\odiparams.bat"
    with
    call "%ODI_HOME%\bin\odiparams_b.bat"
    10. now start two scheduler agent by calling agentscheduler_a.bat and agentscheduler_b.bat
    Thanks,
    Sutirtha
    PS : Take a backup of each and every file getting modified

  • Schedule a job with email destination in BOXI R2 with email format as html

    Hello Guys, would it to possible to schedule a job with email destination in BOXI R2 with email format as html? we are able to get it running with plain text email format. we use Java SDK to interface with BO Enterprise servers.
    thanks for your thoughts,
    Venkat

    Hi
    your job should SMOF_DOWNLOAD can bring new material master if you set up correctly.
    as a smart method smof_download is the best way.
    doble check your filter condition. it should work as you expected. because we dont involve in  manual pulling...
    check your variant once again. in vari table,
    can you check r3ac1 - filter settings- source seetingsa--> source site nmae --> backendlogical system and filter sync..
    br
    Muthu

Maybe you are looking for

  • How to Output to MXF format

    We edit with FCPx 10.0.3.  We are having all kinds of problems trying to render the files to meet specs required by a broadcast station.  The program, for airing on Australian TV, is an edited version of a US program supplied to us in NTSC format whi

  • Assigning new employee to a org unit manager

    Once I had closed all the milestones of the firt implementation project(1. Design Accepted - 2 Solution Accepted - 3 Go Live Readness Acceptance) and tested some cenarios I found an error in the organization structure. To solve this problem I created

  • MOV to Apple TV error

    When trying to convert a 1GB MOV file to Apple TV I get an error message "Failed: qtKitErrorCtachall (-50) The MOV file has been successfully cvonverted to other formats. Can this be fixed?

  • Mac OSX v10.6.5: How's it working for you with Premiere Pro CS5?

    If you've installed Mac OSX v10.6.5, let us know how it's working for you. Please make sure that you're using the most recent update for Premiere Pro CS5 before you report back. We don't want to waste our time disentangling problems that were actuall

  • Doubt in extensions

    In a standard page, I need to add a table to enter tax details. So I created a custom region with a controller and embedded it in standard page. Now whatever user enters in the table of custom region, I have to store in a custom table. So in controll