You can set your Mac OS X account to automatically lock the screen so that the password is required after a certain amount of time of inactivity, but can you do the same thing using a schedule (say at 5:30 PM every day)? Kind of like how you can have the computer turn on/off or go to/wake up from sleep at a certain time.
|
You can use
If you want it to run on the current power cycle (Eg you don't want to restart for this to take effect) use Use I have verified this works on my workstation. I don't know why |
|||||||
|
|
EDIT: Although I am not certain of why Use
|
|||||||||||
|
|
I wanted something similar, but instead of always locking at a specific time, I wanted to lock only on certain conditions. The script I used to check those conditions was triggered by cron, so I had the same issue. When I tried So in my script, I used the following, to lock the computer:
Convoluted? Yes. Working? Positive! |
|||||
|
