web stats
Command line from with Mirth - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 08-09-2019, 04:43 AM
cory_cole cory_cole is offline
Mirth Guru
 
Join Date: Mar 2012
Posts: 1,238
cory_cole is on a distinguished road
Default Command line from with Mirth

Is there away to run a Unix command within Mirth? I am writing a file that has root as the owner. We do not have root access. Therefore, I need to change the owner of the file.
Reply With Quote
  #2  
Old 08-09-2019, 04:39 PM
agermano agermano is offline
Mirth Guru
 
Join Date: Apr 2017
Location: Indiana, USA
Posts: 861
agermano is on a distinguished road
Default

You can use Java to do it.

Here's a code template to help:https://github.com/nextgenhealthcare...time%20Command
Reply With Quote
  #3  
Old 08-09-2019, 04:41 PM
agermano agermano is offline
Mirth Guru
 
Join Date: Apr 2017
Location: Indiana, USA
Posts: 861
agermano is on a distinguished road
Default

I don't think you'll be able to change the owner, though, if it's currently root and you don't have root access.
Reply With Quote
  #4  
Old 08-12-2019, 05:04 AM
cory_cole cory_cole is offline
Mirth Guru
 
Join Date: Mar 2012
Posts: 1,238
cory_cole is on a distinguished road
Default

Mirth is writing it at root access. Therefore it should be at root access.
Reply With Quote
  #5  
Old 08-12-2019, 07:44 AM
agermano agermano is offline
Mirth Guru
 
Join Date: Apr 2017
Location: Indiana, USA
Posts: 861
agermano is on a distinguished road
Default

I see. That should do it, then!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 12:23 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation