Tip for reloading code via a command shell

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Tip for reloading code via a command shell

Chris Barrett-2
I'm often tweaking my user code files and up until recently I always used
the ia5 web interface to reload the code.  I have now created a simple shell
script that I've call reload_code and placed it in my /home/mh directory.

/usr/local/mh/bin/mhsend -run "reload code"

Now all I need to do is run the reload_code script after I've made the
changes and wait for MH to (hopefully) reload the new code.

The above is obviously designed to work on a *nix system.

I hope that this tip helps others like it helped me...


This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365