Post a reply

Write your message and submit

Options

Click in the dark area of the image to send your post.

Go back

Topic review (newest first)

mpa
2012-01-05 08:55:06

JohnGarrettMartin,

Thanks for your reply. That was the answer I was looking for.
I will test it today :-)

Kind regards

JohnGarrettMartin
2012-01-04 15:45:40

yes, it will block until the system call returns. back-grounding the process will allow you to return before the command is complete.

mpa
2012-01-04 14:43:51

Hi,

I'm planning on using the tSystem component for the first time and I was wondering something before i'll try to implement it.

What i'm going to do (or try :> ) is delete the RTM models from my cognos server every once in a while to make some space on the server. ( as these files get big after some time)

But before I can safely delete these files the cognos server must be stopped.

So I was thinking something like:
tSystem (Command to stop cognos server)
--(onsubjobok)--
tfilelist --(iterate)-- tfileDelete
--(onsubjobok)--
tSystem (Command to start the cognos server again)

Now my question is will Talend wait until the tSystem has been executed fully? (because it can take a some time to complete)
Or will it start the next part of my job while the tSystem is still running? Because I had a similar problem a long time ago in vbscript if i remember correctly.

If anyone has the answer for this it would be much appreciated. :-)


Kind Regards,
Mario De Pauw

Board footer

Powered by FluxBB