cancel
Showing results for 
Search instead for 
Did you mean: 

AXIS Task Adapter : Availibility Time Planning

Former Member
0 Kudos

Hello Expert,

I am using AXIS task adapter to get data using HTTP GET. It works fine as expected. I have also configured interval so that it doesn't poll frequently

My requirment is to pull the data from every Monday and Friday. So I have scheduled using availibility time planning

In weekly ATP, I can not specify less than hour difference between Start date/tme and end date/time. And also, I have specified more than 1 hour of polling interval (see below) in AXIS task adapter, Sometimes, it runs 2 tims in one hour.

Any idea, how to achive this . My requirement is only poll 2 times. (1 times on Monday and 1 times on Friday.)

Thanks,

KP

     The default value      My value = -1
-1 means unlimited.

  • Under Interval (msec), specify the interval between poll   My value =  30000000 msec (500 minute)
    procedures in milliseconds.
  • Under Timeout (msec), specify the time period after which to
    cancel the poll procedure

Accepted Solutions (0)

Answers (1)

Answers (1)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

You can also control the communication channels externally without RWB. Since you want two times per week, you can write script to handle this.  william Li has a neat blog about explaining this...

If you dont see it, please look at this blog ..

http://scn.sap.com/community/pi-and-soa-middleware/blog/2007/05/04/control-communication-channels-ex...

To start and stop the channels... you basically need the command as follows..

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

Take help from admins to write the script..

You can use wget or  curl command to call this url in the script. You set up cron job to activate this command two times per week. Once you start decide at what time to stop this....

Hope that helps.