瀏覽代碼

Merge branch 'master' of github.com:LukeSmithxyz/mutt-wizard

tags/v3.1
Luke Smith 5 年之前
父節點
當前提交
261a6a4aeb
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4C50B54A911F6252
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      bin/mw

+ 1
- 1
bin/mw 查看文件

@@ -244,7 +244,7 @@ choosecron() { ! pgrep -x cron\|crond >/dev/null && echo "No cron manager runnin
read -r minnum
printf "\033[0m"
done
(crontab -l; echo "*/$minnum * * * * export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus; export DISPLAY=:0; . \$HOME/.profile; $(type mailsync | cut -d' ' -f3)") | crontab - &&
(crontab -l; echo "*/$minnum * * * * export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u)/bus; export DISPLAY=:0; . \$HOME/.profile; $(type mailsync | cut -d' ' -f3)") | crontab - &&
echo "Cronjob added. Mail will sync every $minnum minutes. Be sure you have your cron manager running."
fi ;}



Loading…
取消
儲存