Skip to content
Snippets Groups Projects
Commit 1eb35197 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

[doc/macos] Fix cronjob setup

parent 4120fdd0
No related branches found
No related tags found
No related merge requests found
Pipeline #50832 passed
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment