蘋果小豬研究室
Search
⌃K
蘋果小豬研究室
Search
⌃K
首頁
中譯資料
網路觀念
Linux 程式設計
網路服務推薦
glibc 中文手冊
Linux 系統操作
/proc/sys/net/ipv4/conf/eth* 目錄中的參數
Linux 伺服器效能調校
Linux 設定網卡速度
Proxy ARP
sysrq
Turn off beep in Linux system
umask()
以 ethtool 查看網路卡狀態及設定
使用 nameif 修改 Linux 網路卡名稱
使用 xhost
利用 sed 取出檔案中某行
在 bash 中設定 Proxy server
在 Linux 系統呈現 dd 的進度
字串取代,使用 awk & sed
尋找多種副檔名
常用 VIM 選項
自動 CPU 調頻節能控制
自動執行程式
設定 Debian 預設啟動服務
設定 DHCPd server
透過 RS-232 操作 Linux console
Linux connect to serial port
資訊安全
實用工具
交換連結
網頁設定
網路應用
[email protected]
文獻推薦
隱私政策
Powered By GitBook

自動執行程式

[Method 1]
Enable the atd daemon

/etc/init.d/atd start

Set the time $ at 8pm
Set command, Press CTRL+D $ at> Command
Sample format of time:
Run job at 6am on monday:
$ at 6am monday
Run job in 5 minutes time:
$ at now + 5 minutes
Run job at 4pm but 3 days later:
$ at 4pm + 3 days
Run job at 10am on 31st July:
$ at 10am Jul 31
[Method 2]
Edit /etc/crontab, and set the time
In this example, the command is /sbin/reboot.
0 * * * * /sbin/reboot
Reference:
http://www.cyberciti.biz/tips/howto-shutdown-linux-box-automatically.html
Previous
自動 CPU 調頻節能控制
Next
設定 Debian 預設啟動服務
Last modified 4mo ago
Copy link
Edit on GitHub