David/Danny, Thanks for the quick response. We are using New Relic to monitor ML. Unfortunately, the New Relic plugin seems to need restarting regularly to maintain connectivity. It stops reporting after an unknown period of time. We were hoping to use an ML scheduled task to run a shell script to stop and then restart the plugin. I guess we will have to switch to using cron instead.
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/> From: [email protected] [mailto:[email protected]] On Behalf Of David Ennis Sent: Monday, April 13, 2015 11:47 AM To: MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] Scheduled Task to run batch file. MarkLogic does not execute external code like shell or batch scripts. How are you trying to trigger the script? Kind Regards, David Ennis David Ennis Content Engineer [HintTech] <http://www.hinttech.com/> Mastering the value of content creative | technology | content Delftechpark 37i 2628 XJ Delft The Netherlands T: +31 88 268 25 00 M: +31 63 091 72 80 [http://www.hinttech.com]<http://www.hinttech.com> [http://www.hinttech.com/signature/Twitter_HintTech.png] <https://twitter.com/HintTech> [http://www.hinttech.com/signature/Facebook_HintTech.png] <http://www.facebook.com/HintTech> [http://www.hinttech.com/signature/Linkedin_HintTech.png] <http://www.linkedin.com/company/HintTech> On 13 April 2015 at 20:40, Thomas, Elroy E (CGI Federal) <[email protected]<mailto:[email protected]>> wrote: 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<tel:619-947-6507> | C 619-496-7766<tel:619-496-7766> www.cgi.com<http://www.cgi.com/> _______________________________________________ General mailing list [email protected]<mailto:[email protected]> Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________ General mailing list [email protected] Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
