Hi Gene,

I would try making that mimtype map to text instead of binary; a bat file seems 
to me would be a text document.

Although I am not 100% sure I understand the environment that is running.  If 
that does not work, you might give more details about how the document is being 
fetched from MarkLogic.

-Danny

From: [email protected] 
[mailto:[email protected]] On Behalf Of Thomas, Elroy E 
(CGI Federal)
Sent: Monday, April 13, 2015 11:40 AM
To: [email protected]
Subject: [MarkLogic Dev General] Scheduled Task to run batch file.

I see linux shell scripts (.sh) have a mimetype in MarkLogic 7, but I don't see 
one for windows batch files (.bat).
I am testing being able to run a shell script weekly to stop and start a 
MarkLogic plugin for New Relic.

I am testing the process on my windows laptop and plan to implement it in our 
production Linux environment.

I tried adding application/bat mimetype as binary, but I still get 
XDMP-NOEXECUTE errors.


Gene Thomas
MarkLogic Deployment & Operations Engineer
VDC-HIM Project | CGI Federal | T: 619-947-6507 | C 619-496-7766
www.cgi.com<http://www.cgi.com/>

_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to