Lee (
randomling) wrote2013-09-07 03:39 pm
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Entry tags:
Post automation - my idea of the steps I need.
No advice, please! (I know a lot of you are programming or sysadmin wizards who know loads about these things. I don't know very much about them, and I'm really wanting to make my own mistakes and see if I can work through this process by myself. Don't worry, if I get stuck, I will ask for help directly.)
My goal: to set up automatic daily posts for
awesomeers, because I keep forgetting to do the daily challenge posts. Automation would take one more thing off my plate and make the resource more reliable for the community members, which is important to me. It would also give me an opportunity to learn about some sysadmin stuff, including how to send email via the command line and how to set up a cronjob.
So. Things to be done:
1. Figure out the correct format for an email sent by the command line, including address.
2. Use Python to build and output a correctly-formatted email.
3. Figure out how to send the email, via either Python or bash, whatever works.
4. Test that this works by sending it to myself.
5. Figure out how to create a cronjob.
6. Glue all of this together.
Which means that the first step is to look at formatting.
Whee! This will be fun.
My goal: to set up automatic daily posts for
![[community profile]](https://www.dreamwidth.org/img/silk/identity/community.png)
So. Things to be done:
1. Figure out the correct format for an email sent by the command line, including address.
2. Use Python to build and output a correctly-formatted email.
3. Figure out how to send the email, via either Python or bash, whatever works.
4. Test that this works by sending it to myself.
5. Figure out how to create a cronjob.
6. Glue all of this together.
Which means that the first step is to look at formatting.
Whee! This will be fun.
no subject
I just wrote somet stuff consolidated several steps I've been taking to blog and disseminate things. I love building tools!
no subject