DATE=`date +%m%d%y`
setsite jayhawk
hcicmd -p ftp -c ‘moblico_conf_ob pstop’
cd /hci/root3.8.1P/jayhawk/exec/processes/ftp
mv conf_moblico /home/hci/moblico/conf$DATE.csv
cd /home/hci/moblico
hcicmd -p ftp -c ‘moblico_conf_ob pstart’
When running it from command line everything works fine, but when it runs through the cron I get the following errors:
No HCIROOT set at /hci/bin/hcisetenv line 138.
/home/hci/ftpscripts/ftp_moblio_conf[3]: hcicmd: not found.
/home/hci/ftpscripts/ftp_moblio_conf[7]: hcicmd: not found.
I am not sure how to correct this…anyone have an idea? Thanks in advance.