如何讓shellscript重開機後繼續執行 - Linux

By Olga
at 2015-01-26T21:53
at 2015-01-26T21:53
Table of Contents
※ 引述《yavis (yavis)》之銘言:
: 如標題所示,小弟寫了一個shell script,
: 過程中需要reboot機器,
: 想請問有什麼方法能讓機器重啟後,
: 繼續執行shellscript尚未執行的部分,
: 還請版上前輩多多指教, 謝謝
今天無意間閒晃到一個介紹 CRIU (Checkpoint/Restore In Userspace)
好像可以達到原PO的需求
http://www.criu.org/Main_Page
http://en.wikipedia.org/wiki/CRIU
You can freeze a running application (or part of it) and checkpoint
it to a hard drive as a collection of files. You can then use the files
to restore and run the application from the point it was frozen at.
原PO可以玩看看
--
: 如標題所示,小弟寫了一個shell script,
: 過程中需要reboot機器,
: 想請問有什麼方法能讓機器重啟後,
: 繼續執行shellscript尚未執行的部分,
: 還請版上前輩多多指教, 謝謝
今天無意間閒晃到一個介紹 CRIU (Checkpoint/Restore In Userspace)
好像可以達到原PO的需求
http://www.criu.org/Main_Page
http://en.wikipedia.org/wiki/CRIU
You can freeze a running application (or part of it) and checkpoint
it to a hard drive as a collection of files. You can then use the files
to restore and run the application from the point it was frozen at.
原PO可以玩看看
--
Tags:
Linux
All Comments

By Eden
at 2015-01-30T16:50
at 2015-01-30T16:50

By James
at 2015-02-04T13:00
at 2015-02-04T13:00
Related Posts
請問Mint與Win8對接(已跳線)的設定問題?

By Oscar
at 2015-01-26T15:49
at 2015-01-26T15:49
htaccess

By Jake
at 2015-01-26T14:18
at 2015-01-26T14:18
on-line備份系統的問題

By Zora
at 2015-01-25T22:27
at 2015-01-25T22:27
Atheros AR8151 Ethernet Controller

By John
at 2015-01-25T13:12
at 2015-01-25T13:12
wget | bash 帶參數的問題

By Zanna
at 2015-01-25T03:07
at 2015-01-25T03:07