diff options
author | Jan Pokorný <jpokorny@redhat.com> | 2013-04-05 18:53:59 +0200 |
---|---|---|
committer | Jan Pokorný <jpokorny@redhat.com> | 2013-04-05 18:53:59 +0200 |
commit | b7dea94f3113963cc7e4ec54f1a65c1fa4fc3369 (patch) | |
tree | 134ffd057a0acbea06e0658b37bc049a292ee10c /misc | |
parent | b94e10095f556554eed39d8a421331a6ce224e53 (diff) | |
download | dotfiles-b7dea94f3113963cc7e4ec54f1a65c1fa4fc3369.tar.gz dotfiles-b7dea94f3113963cc7e4ec54f1a65c1fa4fc3369.tar.xz dotfiles-b7dea94f3113963cc7e4ec54f1a65c1fa4fc3369.zip |
Start misc files, crontab "cherry pick what you need" being the first
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
Diffstat (limited to 'misc')
-rw-r--r-- | misc/crontab | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/crontab b/misc/crontab new file mode 100644 index 0000000..d4296f6 --- /dev/null +++ b/misc/crontab @@ -0,0 +1,2 @@ +# sync IMAP store every 5min for offline use +*/5 * * * * test $(ps -eo etimes,args | grep offlineimap | grep -v grep | awk '{print $1}END{if(NR==0){print 0}}') -gt 300 && killall -9 offlineimap; offlineimap -q -u quiet |