on 02-24-2012 8:43 AM
Dear experts,
I have a scenario FTP -> PI -> FTP.
I get about 30 files in at 1pm and the FTP sender adapter channel picks them all at once. But I need a minute in between each file, so the sender adapter picks files one by one every minute and not all of them at once.
I have been following the following thread:
http://forums.sdn.sap.com/thread.jspa?threadID=2037561
and there is the Windows command mentioned:
choice /C:a /D:a /T:2>nul
Our PI system runs on AIX though and I am not so familiar with OS commands
on UNIX. Does anyone know the equivalent command for to run on UNIX?
Thank you for any help with this,
Peter
Hello,
But I need a minute in between each file, so the sender adapter picks files one by one every minute and not all of them at once.
You can use option 1 in this blog by Mickael (see the start time in the diagram for solution N*1)
http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/4463
Hope this helps,
Mark
Edited by: Mark Dihiansan on Feb 24, 2012 9:51 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I found the command for UNIX (AIX), it is called:
sleep
so putting in
sleep 30
into "Run Operating System Command After Message Processing" makes the FTP sender adapter pick files every 30 seconds, no matter how many are waiting in the FTP folder.
I hope this is going to be useful to others as well.
Best regards,
Peter
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.