Nils Norman Haukås 0ef686307c | ||
---|---|---|
.gitignore | ||
cron-shotter.sh | ||
license.md | ||
no.nilsnh.daily-screens.plist | ||
readme.md |
readme.md
Daily Screens (MacOS only)
A cron-job utility that takes a screenshot of your main screen every minute using Launchd.
Usage
git clone
this project into your Mac home folder, you go there withcd ~
.- Update
no.nilsnh.daily-screens.plist
, you need change the entryProgramArguments
so that the path to the downloadedcron-shotter.sh
script can be found. - Then you copy
no.nilsnh.daily-screens.plist
into~/Library/LaunchAgents
. Jobs in this folder are run as the current logged in user. - Load the script with
launchctl load no.nilsnh.daily-screens.plist
.
Uninstalling
- Call
launchctl unload no.nilsnh.daily-screens.plist
to disable the script. - Delete the script from
~/Library/LaunchAgents
.
References
Much thanks to this blogpost by Alvin Alexander for explaining that I needed to use Launchd instead of cron for MacOS.
License
Licensed under GNU GPLv3.