User:Sylvain: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
No edit summary
 
Line 2: Line 2:
* Example
* Example
   crontab -e
   crontab -e
00 20 * * * ctest -S myScript.cmake > myScript.log 2>&1
  00 20 * * * ctest -S myScript.cmake > myScript.log 2>&1


* Problem:
* Problem:

Revision as of 23:49, 28 September 2006

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