DEV Community

Discussion on: What are the small things you've automated?

Collapse
 
jcolag profile image
John Colagioia (he/him)

I've grouped most of my automation into an end-of-day and start-of-day script.
The former actually runs overnight to help me estimate my sleep patterns, giving me a place to take notes if anything occurs to me (reason I think I woke up, for example) or ask for the time (text-to-speech, so I can keep my eyes closed) while racking up time between start and end, and then ends by grabbing weather information, figuring out what blog posts are going out for the day, running proselint against the blog post(s), and dumping out the notes I typed overnight.
The other script kills my e-mail client, so that I don't spend the entire night replying to people, then backs up things I think are important to my server, some rsync calls and some committing and pushing git repositories with decent (not great) commit messages.
There are obviously others for specific tasks, such as publishing to my blog and making sure the source repository is up to date, but they're only used when needed.
So far, I haven't gotten up the courage to schedule any of them, though, which is probably the next big step...

Collapse
 
kethmars profile image
kethmars

Wow John! Thank you for sharing.
Reading your post, I see I've got a long way to go!

Collapse
 
jcolag profile image
John Colagioia (he/him)

Oh, it's always going to be a tiny bit at a time. I'm pretty sure the first version of each was at least five years ago and always getting little things added. Twenty-something years of using UNIX-like system, and I'm only just realizing that I should have been using arrays for a lot of things...