cancel
Showing results for 
Search instead for 
Did you mean: 

Run Operating System command at particular time

shweta_walaskar2
Contributor
0 Kudos

Hi,

I have a batch file which runs a VBScript .

This VBScript creates an XML file on the ftp server.

This file will be picked by XI to create IDocs.

Now I need to run this VBScript everyday at a fixed time.

I know,a batch file can be run using Operating system command in file adapter but I don't have a triggering point like before or after message processing.

How can I do this?

Please let me know.

Thanks.

Best Regards,

Shweta

Accepted Solutions (1)

Accepted Solutions (1)

former_member181962
Active Contributor
0 Kudos

Hi Shweta,

From what i understand, you want to schedule a batch job to run daily at a particular time.

This is a comletely independent(of XI) activity .

Contact your OS administrator .

he can help schedule batch jobs.

Regards,

Ravi

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Shweta,

schedule the Vb script as a batch job,

see in google how to schedule a VB script on a scpefic time....

check this....

http://www.vistax64.com/vb-script/185588-how-schedule-vbscript-run-every-five-minutes.html

and OS command before and after message processing will not help....

also scheduling the comm channel in RWB is another alternative....

madanmohan_agrawal
Contributor
0 Kudos

Shweta Says..

I know,a batch file can be run using Operating system command in file adapter but I don't have a triggering point like before or after message processing.

You can find the option for OS commands before and after message processing in your CC.

Also you can configure your CC in RWB to run at a particular time so that your batch file will be triggered during the specified period only.

Regards,

Madan Agrawal

shweta_walaskar2
Contributor
0 Kudos

Hi Madan,

Thanks for the reply.

I agree with Ravi too,but I would prefer to do it within the scope of XI itself.

What you said,is exactly the same what I am looking for.

How can I configure my CC in RWB to run at a particular time so that my batch file will be triggered during the specified period only.

Could you please let me know.

Thanks a lot.

Best Regards,

Shweta

Former Member
0 Kudos

Hi,

In runtime work bench select you CC. Select the control data. you can able to get Availability time. If you select a Particular period then the CC will run the particular time only.

For more details..

[http://help.sap.com/saphelp_nw70/helpdata/en/45/06bd029da31122e10000000a11466f/content.htm]

Note:

For getting Availability time you should have PI-7.0 support pack 10.

Regards,

Prakasu.M

madanmohan_agrawal
Contributor
0 Kudos

>>How can I configure my CC in RWB to run at a particular time so that my batch file will be triggered >>during the specified period only

you can achieve this by following.

Go to RWB --> CC Montoring --> In top right you can find "Availability Time Planning" --> Click on that --> Choose Avaliability time as Daily --> Click on Create --> select your CC.

Regards,

Madan Agrawal

shweta_walaskar2
Contributor
0 Kudos

Hi,

I cannot find this link in our Communication Channel Monitoring.

The reason must be,ours is XI3.0 SP17.

Regards,

Shweta

madanmohan_agrawal
Contributor
0 Kudos

Hi Shweta,

/people/shabarish.vijayakumar/blog/2006/11/26/adapter-scheduling--hail-sp-19-

"Availability Time Planning" is available from SP 19 on XI3.0

upgrade to the latest patch so that you can get all additional features. Contact your BASIS team.

Regards,

Madan Agrawal

shweta_walaskar2
Contributor
0 Kudos

Hi,

Thanks for this information.

I would contact BASIS team and would check if they can do this.

Best Regards,

Shweta

former_member181962
Active Contributor
0 Kudos

Hi Shweta,

I am not sure if availability planning will solve your issue.

Availability planning is like dynamically making your adapters active and inactive.

Whereas what you wanted was a way to schedule the job that creates the file(Not the adapter). Isn't it?

Regards,

Ravi

shweta_walaskar2
Contributor
0 Kudos

Hi Ravi,

Yes,I am checking this option and at the same time trying if I can find a triggering point to this scenario.

If this is the case,I won't need any batch scheduling.

Would update this thread,once I'll find a solution.

Thanks

Regards,

Shweta