You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A small python script that looks to see when the last time a Time Machine backup was made, and if it was too long ago, pings a reminder
I have only tested this on Python 2.7
I have only tested this on MacOS Sierra 10.12.3
Installation
Install Python 2.7
Copy the .py file into a directory of your choice
Determine your age of backup trigger, in number of days
Call the script with the flag -d or --days followed by the number of days you want before the backup alert triggers
For example, if you put 3, once the last backup is 3 or more days old, you will get pinged
Create a cron job:
crontab -e to edit your crontab, which opens it in vi
Optionally, set your crontab MAILTO variable
MAILTO=user@domain.com
insert a cron job that runs the script as often as you want. For example, this job which will run every 10 minutes and remind you once your last backup is 3 or more days old