Crontab looks like this
41 * * * * /home/hci/crontab/vsiep01_maintenance.ksh >> /home/hci/crontab/hourly_output 2>&1
Top of cron script looks like this
#!/usr/bin/ksh
export FPATH=/hci/cis6.2/integrator/kshlib
setroot /hci/cis6.2/integrator/
################
# Housekeeping
################
echo
echo “STARTING THE MAINTENANCE.KSH SCRIPT”
echo
date
Error looks like this
/home/hci/crontab/vsiep01_maintenance.ksh[3]: setroot[49]: /integrator/sbin/hcisetenv: not found [No such file or directory]
STARTING THE MAINTENANCE.KSH SCRIPT
Mon Apr 23 12:41:01 PDT 2018