Shell Scripting Help
I have setup a cron job that excecutes a shell script that I am using to collect RETS data on a 6 hour basis. With in side my shell script, I have some very simple things setup. SInce I am new to shell scripting, I am looking for a little bit of help.
Here is my shell script. Basically, I have four needs from this script.
1. Remove all .txt files from RETS collection directory
2. Collect RETS data (the script below does this correctly
3. After the script is done running the shell script orc.sh, I need it to rename the collected files to <name>.xml
4. Run a coldfusion script that I have, via a url.
Can someone point me in the right direction as to where I can information so I can accomplish these needs.
#!/bin/sh
#!/bin/bash
JAVA_HOME=/usr/java/jdk1.5.0_08
PATH=$JAVA_HOME/bin:$PATH
export JAVA_HOME PATH
/usr/local/orc-0.7.15/bin/orc.sh ARMLS
|