User:Sylvain

From KitwarePublic
Jump to navigationJump to search

crontab on MacOS

  • Example
 crontab -e
 00 20 * * * ctest -S myScript.cmake > myScript.log 2>&1
  • Problem:

When I create a cronjob with

 crontab -e

I get the error message:

 crontab: temp file must be edited in place
  • Solution:

Use the 'nobackup' option in VI:

 :set nobackup
 crontab: installing new crontab