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 呃...不会又忘了写周报和工时吧?
最后
以上就是迷你发夹最近收集整理的关于ubuntu自定义通知的全部内容,更多相关ubuntu自定义通知内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复