Skip to Content

Scheduling of CC

Hi Experts,

I have a requirement like my sender JDBC communication channel should be started after every 8hrs in a day on daily basis.In availability time Planning we can schedule only once a day.

I have one option that i can put my poll interval to 8hrs .

Kindly suggest me if any other best possible way to do the same.

Secondly if i put my poll interval to 8hrs it will poll database for once but at the same time if database is down is there any way to that channel should automatically for once when database is up.

Please throw some light on these querys.

Regards

Praveen Reddy

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 20, 2011 at 05:01 PM

    Hi Praveen,

    I suggest instead of increasing the polling interval , you can create three diff schedules [00:00 , 8:00, 16:00] with diff start time and mention the duration it should be running. So the channel will be up for every 8 hrs and polling accordingly.

    - Muru

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 20, 2011 at 10:25 AM

    Try this

    Poll Interval (secs): 28800

    Retry Interval (secs): 60 (say) i.e. Number of seconds that the adapter is to wait before an SQL statement processed with errors is processed again

    Regards

    Raj

    Add a comment
    10|10000 characters needed characters exceeded

    • I believe you can schedule in secs as previous expert suggested to achieve every 8 hours polling successfully. First try with some small duration and note down the behavior. You can also control the communication channels externally.

      Please check this [link|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/6456] [original link is broken];

      The above link works for even 7.1 too.

      Also if you are creating a script using unix command then you can try as follows example

      wget http(s)://host:port/AdapterFramework/ChannelAdminServlet?party=party&service=service&channel=channel&action=action

      where action = start or stop.

  • Posted on Sep 21, 2011 at 01:38 PM

    set the pull to 60 seconds or 120 and the schedule the CC in the Runtime Workbench > Component Monitoring > ADapter ENgine > Communication Channel Moniptring > (at top - right) schedule Communication Chennel.

    here you can schedule when the channnel will be active to pool and desactive again.

    Adapter Scheduling - Hail SP 19 :-)

    Rgds

    RP

    Edited by: Rodrigo Alejandro Pertierra on Sep 21, 2011 10:40 AM

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 22, 2011 at 01:20 PM

    What would be the situation id server is in down time

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      +I am able schedule three times ATP for my requirement i have another query suppose if my server is in down time when the sender JDBC channel is picking my ATP i have scheduled for 1 hour for the complete 1 hour server is in down time what would be result channel will continue polling until server is up?+

      Hi Praveen,

      During the server downtime the channel will be stopped in PI , so after the downtime when you start the channel and if it is within the scedule it will poll for the remaining time or else it wont poll that time , you have to wait for the next poll. If you want to process that polls data you can start the channel manually , make it run for 1 hour.

      - Muru

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.