紫風(fēng)亂寫(xiě)

          除了他眼前的屏幕,這個(gè)人什么也沒(méi)看見(jiàn)。
          被周圍的電腦簇?fù)碇?,他只知道他所?chuàng)造的現(xiàn)實(shí),但又意識(shí)到那是虛幻。
          他已經(jīng)超越了技術(shù)。也超越了機(jī)器。
          posts - 62, comments - 93, trackbacks - 0, articles - 0
            BlogJava :: 首頁(yè) :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理

          Using crontab to notify

          Posted on 2010-09-28 15:49 Justfly Shi 閱讀(364) 評(píng)論(0)  編輯  收藏 所屬分類: tips
          1. test if the command notify-send is installed
          notify-send "Hello"
          If the command is not found, install the required package following the tips
          2. vi notify.sh and input the below content into it.
          #!/bin/bash
          DISPLAY=:0.0 /usr/bin/notify-send -30000 "<b>Take a Break!</b>"
          3. chmod +x notify.sh
          4. crontab -e
          5. add the below content as a new line in the opened file. and then save it
          */45 * * * * /home/jimmy/notify.sh
          6. Done!
          主站蜘蛛池模板: 渝中区| 吴桥县| 三亚市| 清涧县| 腾冲县| 分宜县| 神农架林区| 旌德县| 江门市| 铜梁县| 工布江达县| 清镇市| 丰都县| 叙永县| 丹寨县| 田林县| 淮滨县| 黑山县| 洛扎县| 内江市| 长岛县| 镇安县| 清丰县| 河北省| 古蔺县| 安吉县| 岚皋县| 宜黄县| 马龙县| 鞍山市| 子洲县| 巨鹿县| 屯昌县| 澄迈县| 朝阳区| 沿河| 南和县| 高清| 岑巩县| 平塘县| 玛曲县|