HI
Im making out shell scripts to reboot my server every day and moving logs backup using remote drive .can someone tell me what command let me use to reboot my system on specific time.my system is not reboot as first ..my following shell scripts is not working off...
#!/bin/bash
date=`/bin/date "+%Y.%m.%d.%H.%M.%S"`
tar -xvf /bkup/$date.tar /opt/apps/tomcat/apache-tomcat-6.0.26/logs/
mail -s $date
xx@gmail.com <<EOF
Backup Completed Successfully
reboot