diff --git a/doc/macos.rst b/doc/macos.rst index a6883ab8f44b12b104266401edd762ae3d0d4943..df8c8fd525b6ca4f46714c6ae13b48a0093a7ac8 100644 --- a/doc/macos.rst +++ b/doc/macos.rst @@ -191,21 +191,8 @@ updated regularly (once a week). To do so, setup a cronjob like the following: .. code-block:: text - MAILTO="" - 00 12 * * 0 /bin/bash /Users/admin/cron.sh - - -Inside the file ``/Users/admin/cron.sh``, put the following contents: - -.. code-block:: sh - - /bin/bash <(curl -s https://gitlab.idiap.ch/bob/bob.devtools/raw/master/doc/macos-ci-install/update-ci.sh) 2>&1 | mailx -s "Software update (hostname|cimacos)" your.email@idiap.ch - -.. note:: - - Use the program ``mailx`` instead of ``mail`` that works correctly through - the SMTP gateway (DMARC sign-off). Disable cron e-mailing using - ``MAILTO=""`` as instructed above. See more details in this thread: - https://secure.idiap.ch/bugzilla5/show_bug.cgi?id=17529 + SHELL=/bin/bash + MAILTO="your.email@idiap.ch" + 00 12 * * 0 /bin/bash <(curl -s https://gitlab.idiap.ch/bob/bob.devtools/raw/master/doc/macos-ci-install/update-ci.sh) .. include:: links.rst