From 1eb3519725fec7e6085c076dd7609605014428d4 Mon Sep 17 00:00:00 2001 From: Andre Anjos <andre.dos.anjos@gmail.com> Date: Mon, 17 May 2021 09:14:58 +0200 Subject: [PATCH] [doc/macos] Fix cronjob setup --- doc/macos.rst | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/doc/macos.rst b/doc/macos.rst index a6883ab8..df8c8fd5 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 -- GitLab