i have load.bat file in my windows ... IN WINDOWS we have a loader.exe file which loads the data in some queue.We keep this data in a particular folder i.e "in" folder. Now this loader.exe file picks the data from the "in" folder and loads it in an MQueue.I dont know exactly how this loader.exe file works but w.r.t this questn i dont think its imp...
Things in bold above is contained in load.bat file.... as i told you "in" is the folder where we have data which is picked up by loader.exe
ABC.cfg and DEF.cfg files are 2 config files( Since data is in GFF i.e Generic File Format)
IN UNIX Now i need a shell script which does the same work as "load.bat" . ( I guess i have loader.exe in my unix box...and it works fine....) i just need a shell script syntax which does the same thing as load.bat file did in windows
[ August 06, 2008: Message edited by: Maan Shenoy ] [ August 06, 2008: Message edited by: Bear Bibeault ]
Someone says "Impossible is nothing". The man next him says "Let me see you licking your elbow tip!"
Of course you have to adjust paths. Now you could execute it by typing in shell ./loader.sh or sh loader.sh. That is in case you are in dir where is the file. when not just type full path.
If you want to start them upon boot process or periodicaly consider putting that command in some startup script (this depends on distribution. I think /etc/rc.d/rc.local is for debian, ubuntu and /etc/conf.d/local.start on gentoo) or in cron for periodcal executing.
Joined: Dec 20, 2007
Above shell script is saved as load.sh now i go to my bin folder and run the load.sh in unix