Thursday, February 4, 2021

MAC Crontab testing

 MAC Crontab testing

28 * * * * cd ~/auspix && ./hello.sh

@reboot cd ~/auspix && ./hello2.sh

1. It won't run before the login, even if added into Login Items. (Unless enable auto login)

2. After login, it will run when the screen is locked or the user is switched

3. When MAC is power on, another user logins, the crontab user doesn't login yet, the crontab will run

4. Before the login, MAC screen shows GMT time instead of local time!


No comments:

Post a Comment