command to reboot system at specific time
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...
tar -xvf /bkup/$date.tar /opt/apps/tomcat/apache-tomcat-6.0.26/logs/
mail -s $date email@example.com <<EOF
Backup Completed Successfully
Read up on "cron" to schedule tasks.
While your at it, read up on tar.
tar -xvf will verbosely extract files from /bkup/$date.tar. It doesn't sound like this is what you want to do.
Why on earth would you want to reboot a Linux web server every day? How very windows of you...
|All times are GMT -5. The time now is 01:46 PM.|