Why I've got no crontab entry on OS X when using vim?

前端 未结 12 1777
执念已碎
执念已碎 2020-12-07 07:41

I would like to use cron on my Mac. I choose it over launchd, because I want to be able to use my new knowledge on Linux as well. However, I cannot seem to get

12条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-07 08:15

    I've never had this problem, but I create a ~/.crontab file and edit that (which allows me to back it up, Time Machine or otherwise), then run

    crontab ~/.crontab
    

    Has worked for me for 20+ years across many flavors of unix.

提交回复
热议问题