How to schedule a script in crontab for running every 45 mins.

Hi All,
Sorry for asking unix question in this forum.But nowhere i will get response like this forum.
OS: HP-UX
I want to schedule a DB script to run every 45 mins. In internet i found that we can
put like */45 * * * * but it is not working in HP. Getting error " unexpected character found in line"
Thanks,
Siva.

>
Try this one by making following changes in crontab
file by 'crontab -e, command
45 * * * * /oracle/oracle/abc.shIt's not every 45min, but every hour (a quarter before the following hour).
Nicolas.
Don't know why it is starting by **, strange censor behaviour, it is just "It"
Message was edited by:
N. Gasparotto
Oh, I understand. Previous line ended by sh, the following one start by it...
Message was edited by:
N. Gasparotto

Similar Messages

  • How to schedule an abap report program to run every day, weekend etc..

    Hi,
    I want to schedule an abap report program to run every day, week, fortnight or month and the output to be redirected to the printer. How to achieve this ?
    thanks

    Hi,
    go to t.code sm36 there give the name of the program which u want to eecute in background if u want u can give periodic that depends upon ur requirement from there in sm37 u can check the stauts and directly print from there
    hope i am clear to u
    plzz reward if it is useful...

  • How to schedule a job occurring time for 1 1/2 hour in sql server

    how to schedule a job occurring time for 1 1/2 hour in sql server

    Hi,
    This is a known issue in the previous SQL Server version and has been fixed in SQL Server 2012. You should be able to set 90 minutes and the change would be saved in SQL Server 2012.
    http://connect.microsoft.com/SQLServer/feedback/details/346786/ssms-does-not-support-job-schedule-frequencies-greater-than-60-minutes
    Currently, you may schedule the job to occur every 1 hour or you may refer to the suggestion by Latheesh to get around this.
    Thank you for your understanding.
    Tracy Cai
    TechNet Community Support

  • How do I get a pass code, for my iPad mini

    How do I get a pass code for my iPad mini.

    What exactly do you meanby "Get a pass code"?
    Do you want to set one?
    do you need to enter one but don;t know it?
    Please provide as much detail as possible about the issue.

  • Question How to switch between tabs automatically? for example every 30 seconds

    Question
    How to switch between tabs automatically? for example every 30 seconds

    Tab Mix Plus has that feature.
    *Tab Mix Plus: https://addons.mozilla.org/firefox/addon/tab-mix-plus/

  • How to Schedule Job using Database Control for SQLPLUS script?

    Hi All,
    I am using Database version 10.2. I would like to schedule a SQLPLUS script job using Database control (Not using Grid Control!). The following is the script.
    ========================================================
    define OEM_FRIENDLY=1
    define OWB_BACKGROUND=0
    set serveroutput on
    set verify off
    whenever sqlerror exit failure;
    define REPOS_OWNER='&1.'
    define LOCATION_NAME='&2.'
    define TASK_TYPE='&3.'
    define TASK_NAME='&4.'
    define SYSTEM_PARAMS='&5.'
    define CUSTOM_PARAMS='&6.'
    alter session set current_schema = &REPOS_OWNER.;
    set role owb_d_&REPOS_OWNER., owb_o_&REPOS_OWNER.;
    variable exec_return_code number;
    begin
    -- Initialize Return Code
    :exec_return_code := wb_rt_api_exec.RESULT_FAILURE;
    -- Run Task
    :exec_return_code := wb_rt_api_exec.run_task('&LOCATION_NAME.',
    '&TASK_TYPE.',
    '&TASK_NAME.',
    '&CUSTOM_PARAMS.',
    '&SYSTEM_PARAMS.',
    &OEM_FRIENDLY.,
    &OWB_BACKGROUND.);
    end;
    exit :exec_return_code;
    ===========================================================
    Is it possible to schedule SQLPLUS script with 6 different parameters? If yes then how can I schedule for monday to friday or only for Saturday and sundays.
    Please provide brief steps.
    Thanks for your help in advance.
    - Mehul

    Let me explain to you about scheduler.
    You can schedule a pl/sql stored procedure TEST_S as follows...
    Begin
    dbms_scheduler.create_job(
    job_name=>'MY_JOB',
    Job_Type=>'STORED_PROCEDURE',
    job_action=>'TEST_S',
    start_date=>sysdate,
    repeat_interval=>'freq=monthly;BYDAY=MON,TUE,WED,THU,FRI',
    end_date=>null');
    END;
    You can also also execute o/s script like .bat or .sh. For this job type should be EXECUTABLE.
    Example of converting a .sql script in .bat script...
    insert.sql
    insert into dept values(50,'IT','LONDON');
    exit
    insert.bat
    sqlplus scott/tiger @insert.sql
    Executing now...
    C:\Documents and Settings>insert.bat
    C:\Documents and Settings>sqlplus scott/tiger @insert.sql
    SQL*Plus: Release 10.2.0.1.0 - Production on Thu Mar 1 08:01:00 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    1 row created.
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - P
    oduction
    With the Partitioning, OLAP and Data Mining options
    C:\Documents and Settings>
    So first read about DBMS_SCHEDULER and do the work in prompt. Then you can go and schedule it even by database control.
    Scheduling by database control...
    http://www.oracle.com/technology/oramag/oracle/04-jul/o44tech_dba.html
    Scheduler
    http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_sched.htm#CIHEHDHA
    PS: By default each job you created is disable state. Please enable it by enable procedure of DBMS_SCHEDULER package.

  • How to schedule a job which needs to run evry day 1(AM) o clk?

    begin
    DBMS_SCHEDULER.create_job (
    job_name=> 'BJAZPROPMAINTAIN',
    job_type=> 'PLSQL_BLOCK',
    job_action=> schemaname.schedule_procedure;',
    start_date=> '02-aug-08 01:00:00 PM',
    repeat_interval=> 'FREQ=DAILY; BYHOUR=01',
    enabled =>TRUE,
    auto_drop=>FALSE);
    end;
    Hi all,
    i want to schedule a job which needs to be run every day one o clock early morning i haven't set the job_scheduler before this. by searching thru net and prev scheduler coding i have written the above code here for running evry day early morning 1 o clock i m little bit of confused in the time
    repeat_interval=>'FREQ=DAILY;BYHOUR=01'; whether is is correct one or wrong?
    and also there are some other job is scheduled in the same time . will it create any problem of executing at the sametime or we need to change the timing of 1:15 like that?
    please advise me..

    Thanks a lot so it will be executing every night 1 o clock am i right?
    It should.But I shall say that schedule it and than only we can be sure about it.About the timing part, its correct syntatically.
    i saw that job_priority column in dba_scheduler_jobs table but dont know what it does?
    and also how can fetch this job scheduler sid,serial# i checked v$session but how to correlate this ..
    please explain me
    In schedulerjobs,there is a column ,client_id.You can map it to the sid from the V$session.I don't have a box running Oracle at the moment so I wont be test it for you.Do it and post feedback.
    what will happen if more than one job is scheduled in the sametime
    i think for this only we set the priority on the two which one needs to be first exec(depends on the high priority)
    let me know about this.
    Jobs are prioritized by two parts,within the class they are a part of and individualy.If you have two jobs in the same class than they can be make run with a different priority with the priority clause set within them.This has a number which start from 1 meaning highest priority.So if there are two jobs scheduled for the same time,you need to check which job class they fall into. If they are in the same class than you have to change the priority of them.
    I suggest you read the books,they cover all these topics in much more detail.
    Also there is a dedicated forum about Scheduler.In future for Scheduler regarded questions, you can visit there.
    Scheduler
    Aman....

  • How can i install the "mistral" font for my ipad mini? thanks

    Could you please help me with my question? id like to instal the mistral font for my ipad mini and other fonts
    thanks

    You can't add fonts to iOS devices. Sorry.

  • How to calculate  revenue vs taget in obiee11g (running every day)

    hallo masters,
    i have problem,
    i have target in 1 year (january until dec) e.g 1000
    and then there is revenue every day that calculate until reach 1 year
    how can i calculate revenue vs target current day (i only have 1 year target, not target daily or monthly)
    and how i can calculate persentage of revenue based on target
    revenue 1jan2013 until 25march2013 | target 1jan2013 until 25march2013 | %target | % revenue base on target
    and i need to know if % revenue less than target, then mark red
    and that calculate every year (runnig revenue and running target)
    please help mee
    Edited by: xavier_obieenewbie on Mar 25, 2013 2:35 AM

    whether this KPI can change every day base on target and revenue?
    because we need running target, it means that target every day increase
    target 1jan2012: target 1 year /356
    target upto 2jan2012: (target 1 year /356)*2
    target upto 3jan2012: (target 1 year /356)*3
    target upto 4jan2012: (target 1 year /356)*4
    ...etc
    revenue 1jan2012: a1
    revenue upto 2jan2012: a1+a2
    revenue upto 3jan2012: a1+a2+a3
    revenue upto 4jan2012: a1+a2+a3+a4
    ...etc
    e.g. this day is 4jan2012
    so we want to compare revenue upto 4jan2012 vs target upto 4jan2012
    whether revenue more than or less tahn target,
    its running every day

  • How to find SAP Script Form name for an particular transaction

    Hi,
    I had an issue, in the transaction F110  Payment advice. They need to adjust the spacing on the cheque printing, which is overlapping the names on the cheque and hence I have forgotten how to find the form name and the driver program of the script. Can anybody suggest me how to find those. Your help will be appreciated.
    Thanks in advance.

    >
    Muralidhar Medisetty wrote:
    > Hi,
    >
    > I had an issue, in the transaction F110  Payment advice. They need to adjust the spacing on the cheque printing, which is overlapping the names on the cheque and hence I have forgotten how to find the form name and the driver program of the script. Can anybody suggest me how to find those. Your help will be appreciated.
    >
    > Thanks in advance.
    hey
    NACE is the transaction ..for this u must know the output type..
    Script for Cheque Printing and Payment Advice can be known from Transaction FBZP...
    FBZP -> paying Company Codes -> u will get Script used for Payment Advice
    FBZP -> Pmnt methods in company code -> u will get Script used for Cheque Print
    ....Give points if useful.....
    Edited by: Satyabrata sahoo on Oct 14, 2008 4:42 PM

  • How can I start scripting in CS5 for Windows?

    I have just installed CS5. I tried running a script I had adapted from CS4, and it would not run. Then I discovered there were major changes for CS5, and tried running the sample script FindChangeByList on a short piece of text, but it appeared not to start: the cursor remained flashing as it normally does when in text. Should I try reinstalling or is there a less drastic option?

    Hi Michael,
    I think, then, that the problem is one of permissions. What I've done on Windows 7 installations is to go to the InDesign application folder (in program files), select the InDesign.exe file, use the Context menu (right-click) to display the Properties panel, and then turn on the Run This Program as an Administrator option in the Privelege Level section of the Compatibility tab. Click the Change Settings for All Users button to apply the change (assuming that your current user profile is an Administrator).
    Let me know if that helps!
    Thanks,
    Ole

  • How to schedule a monthly load only for 7 days

    Howdy Folks,
    i have following issue, i have a daily load to a cube with selection to the actual month (e.g. July). but now i need to load beginning from the 1st of August up the 7st of August data from July, due to the monthly close.
    in other words; a load, running monthly at the 1,2,3,4,5,6,7 but not after the 8th of the month.
    or a daily load, but not running, between the 8th and the 1st.
    any idea,
    thanks in advance.
    Thomas

    Hi Thomas,
    While scheduling this process chain..
    select date time..Set periodic valuues
    mothly..Schedule start - 1st and No start -->after
    8th,.
    If it is helpful,Don't forget to assign points..
    okay .. in that way, the load start every month,on the 1st, but the period is monthly so the load will not run at 2nd and so on. i have create 7 packages . 1 for the 1st running monthly, 1 for the second of the month running monthly and so on.  but that is no good solution ?
    Message was edited by: Thomas Bräutigam

  • How to schedule a Job on 1st Wednesday of every month

    Hi,
    I have a job script like below,
    begin
    sys.dbms_job.submit(job => :job,
    what => 'calcuate_stk;',
    next_date => to_date('18-07-2007 08:30:00', 'dd-mm-yyyy hh24:mi:ss'),
    interval => 'to_date(to_char(SYSDATE,''DD-MM-RRRR'')||'' 08:30:00'',''DD-MM-RRRR HH24:MI:SS'')+7');
    commit;
    end;
    The interval of the above job is on every week.
    But now I have to change the interval and I want to run the same job on 1st Wednesday of every month.
    Can someone suggest me possibilities.
    Thanks and regards,
    Sunil

    Or :
    SQL> select mydate, next_day(last_day(trunc(mydate)),'wednesday')+8.5/24 first_wed
      2  from (select sysdate mydate from dual union all
      3        select sysdate+30 mydate from dual union all
      4        select sysdate+15 mydate from dual union all
      5        select sysdate+95 mydate from dual );
    MYDATE              FIRST_WED
    16/07/2007 08:37:11 01/08/2007 08:30:00
    15/08/2007 08:37:11 05/09/2007 08:30:00
    31/07/2007 08:37:11 01/08/2007 08:30:00
    19/10/2007 08:37:11 07/11/2007 08:30:00So, interval should be
    'next_day(last_day(trunc(sysdate)),''wednesday'')+8.5/24'Nicolas.

  • How do I build folders in email for my iPad mini?

    How do I make folders in my email with my iPad mini?

    At the top of the list of folders that you currently have on your icloud.com email account there should be an Edit button - tap that and you should get a 'New Mailbox' button/link at the bottom of that list of folders

  • How to schedule the back job scheduling

    how to schedule the back job for bdc , can we use it for both call transaction and session method . how to schedule the back job schedulinng for lsmw

    hi,
    Use t-code SM36 for scheduling.
    <b>Do reward.</b>

Maybe you are looking for

  • Harman Kardon Drive Play

    I have just Purchased a Harman Kardon Drive+ play for use with the i touch . It works perfectly . Ideal when driving and i can change track and album etc whilst driving . For 30 quid this is a must have for all drivers.

  • Redirect to web authentication not working on Cisco 5508 Wireless Controller

    Hi, I have a wlan with web authentication: http://i55.tinypic.com/w145zk.png and http://i51.tinypic.com/344sfm0.png When I connect to  the SSID (I get correct IP from the Cisco 5508 Controller) and try to  surf, I do not get redirected to the web aut

  • Custom ribbon button does not show for a Tasks list

    I created a simple app using Visual Studio 2012 to add a custom ribbon button for a tasks list. After deploying the app to the SharePoint online, the button does not appear on the ribbon. The exact same button gets displayed properly when added to th

  • Adobe Reader Schrift kann nicht gefunden/erstellt werden

    Folgender Fehler tritt auf. Bitte um schnelle Hilfe Danke.

  • Library movie clip not readable

    I apologize if this seems like a stupid question, but I've only been using flash for a month, and I've been teaching myself how. I'm attempting to make a simple interactive clip where an onscreen icon performs an action when clicked on. Since it's a