ubuntu下添加自定義通知
在crontab中添加以下內容,會在指定時間彈出提醒
第一句:每週四下午5點,每10分鐘提示一次;
第二句:每天,每2個小時提示一次;
第三句:每週五下午5點,每10分鐘提示一次;
# */10 17 * * 4 export DISPLAY=:0.0 && notify-send -i /usr/share/icons/Humanity/emblems/48/emblem-ohno.svg 親,該提交測試進度報告了啊!
0 */2 * * * export DISPLAY=:0.0 && notify-send -i /usr/share/icons/Humanity/emblems/48/emblem-OK.svg 親,每兩個小時讓自己的眼睛休息一會兒!
*/10 17 * * 5 export DISPLAY=:0.0 && notify-send -i /usr/share/icons/Humanity/emblems/48/emblem-ohno.svg 呃...不會又忘了寫週報和工時吧?