浏览代码

fix #785 since cron now silent

pull/858/head
Luke Smith 2 年前
父节点
当前提交
30c1c0d2ae
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. +0
    -2
      bin/mailsync

+ 0
- 2
bin/mailsync 查看文件

@@ -11,8 +11,6 @@
# issues. It also should at least be compatible with Linux (and maybe BSD) with
# Xorg and MacOS as well.

# Run only if user logged in (prevent cron errors)
pgrep -u "${USER:=$LOGNAME}" >/dev/null || { echo "$USER not logged in; sync will not run."; exit ;}
# Run only if not already running in other instance
pgrep mbsync >/dev/null && { echo "mbsync is already running."; exit ;}



正在加载...
取消
保存