System Shutdown on Saturday
I am using redhat 9 as a internet server, I had given in the crontab to shutdown my linux server at night 8:00 P.M but on saturday my office leaves on 4:00 P.M so I have to give in crontab to shutdown the server at 4:00 P.M when I am leaving at 3:00 P.M on saturday before leaving of my other employees
so I need a command which will detect the system date, when the date is detected as saturday the system will shutdown on 4:00 P.M on other days it will shutdown on 8:00 P.M
Regards
Satish
|