BMS-HOSxP Community
HOSxP => Linux => ข้อความที่เริ่มโดย: fast2525 ที่ ตุลาคม 08, 2009, 15:57:34 PM
-
ตั้งเวลาให้เครื่อง restart เองใน Endian ทำออย่างงัยอ่ะ หากต้องการให้เครื่อง restart เวลาเที่ยงครึ่งของทุกวัน หรือ เวลา ตีห้าของทุกวันอ่ะคะ รบกวนผู้รู้ช่วยชี้แนะหน่อยคะ ขอแบบละเอียดนะคะ มือใหม่คะ ขอบคุณคะ
-
ตั้งเวลาให้เครื่อง restart เองใน Endian ทำออย่างงัยอ่ะ หากต้องการให้เครื่อง restart เวลาเที่ยงครึ่งของทุกวัน หรือ เวลา ตีห้าของทุกวันอ่ะคะ รบกวนผู้รู้ช่วยชี้แนะหน่อยคะ ขอแบบละเอียดนะคะ มือใหม่คะ ขอบคุณคะ
http://linux.sothorn.org/node/398
-
โดยเพิ่ม
*/15 * * * * /var/efw/inithooks/start.local
ให้รัน script load balance ทุก 15 นาที หรือ
*/30 * * * * /var/efw/inithooks/start.local
ให้รัน script load balanceทุก 30 นาที หรือ
00 * * * * /var/efw/inithooks/start.local
ให้รัน script load balance ทุก ชั่วโมง
-
I'd like to setup efw to restart every day around 05.00 am. The line as below I did configure for test to see the result but the efw never restart. I added the line as below in the 'crontab'.
# Test Restart every 05.00 am.
0 5 * * * /sbin/shutdown -r now