Prerequisites
Verify below files are exists.
/opt/einteract/lib/BASHLIB/dbconfig.sh/opt/einteract/lib/BASHLIB/global.sh
Implementation Steps
1.Download the attached deleteSession.sh script under /opt/einteract/cron/
2.Run below command to give executable permission :
chmod u+x /opt/einteract/cron/deleteSession.sh
3.Create folder /tmp/cronlogs if not exists.
4.To schedule a script to run at 12:05 AM every day using cron in Linux
5 0 * * * /opt/einteract/cron/deleteSession.sh>> >>/tmp/cronlogs/deletesession_`date +\%F`.log 2>&1