From 197f71740a8a32570c22eac6d1a00767315e4a4e Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.dos.anjos@gmail.com>
Date: Wed, 27 Feb 2019 08:22:59 +0100
Subject: [PATCH] [doc][macos] Implement regular update strategy

---
 doc/macos.rst | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/doc/macos.rst b/doc/macos.rst
index e11215c4..bb84e716 100644
--- a/doc/macos.rst
+++ b/doc/macos.rst
@@ -105,4 +105,17 @@ Building the reference setup
    the runner process should be executing.  Congratulations, you're done!
 
 
+Running regular updates
+-----------------------
+
+We recommend that the CI machine to have homebrew and installed pip packages
+updated regularly (once a week).  To do so, setup a cronjob like the following:
+
+.. code-block:: crontab
+
+   MAILTO=you@example.com
+   SHELL=/bin/bash
+   00 12 * * 0 bash <(curl -s https://gitlab.idiap.ch/bob/bob.devtools/raw/master/doc/macos-ci-install/update-ci.sh)
+
+
 .. include:: links.rst
-- 
GitLab