POP3 utilization?
- Phr0stByte
- Posts: 395
- Joined: Wed Nov 22, 2006 5:07 am
- Location: Centreville, VA
- Contact:
POP3 utilization?
How cool would it be to have Indigo, or (probably a better route) one of the plugins email currently running renders to you while you are at work at custom specified intervals?
I think that would be awesome - what do you guys think? Just a brainstorm...
I think that would be awesome - what do you guys think? Just a brainstorm...
- Borgleader
- Posts: 2149
- Joined: Mon Jun 16, 2008 10:48 am
Well I was thinking of making myself a program that would say...making different copies of the same render every 1 hours or so. So in my "render" folder I'd have the latest renders of each session, and a bunch of folders with the name of the .igs file they were created with and in these folders the "progress" renders. Names say (NameOfIgs)_1.png (for hour 1) and so forth.
But seeing as my 40 hour summer job is taking more like 60 hours of my time every week, I haven't had much time to do learn coding, much less code at all.
But seeing as my 40 hour summer job is taking more like 60 hours of my time every week, I haven't had much time to do learn coding, much less code at all.
- Borgleader
- Posts: 2149
- Joined: Mon Jun 16, 2008 10:48 am
I wanna test it too!!!!SmartDen wrote:i have already writtes such program. but it's pretty buggy. i'll share it if you promise me to get in the IRC channel, test it and discuss about the bugs and features. otherwise make it yourself. i have no fun to fix a half-bug per day.

- Phr0stByte
- Posts: 395
- Joined: Wed Nov 22, 2006 5:07 am
- Location: Centreville, VA
- Contact:
- Heavily Tessellated
- Posts: 108
- Joined: Thu Aug 10, 2006 4:20 pm
- Location: Huh?
Indeed.zsouthboy wrote:this could be bash scripted easily as well...
Code: Select all
#!/bin/sh
######### Q&D Indigo Image Mailer
INTERVAL=3600 # in seconds
NOW=$(date +%s)
for IMAGES in ~/indigo_v1.1.5/renders/*; do
IMAGEDATE=$(date -r $IMAGES +%s)
if [ $(($IMAGEDATE+$INTERVAL)) -ge $NOW ]; then
## Image modified within $INTERVAL, send it.
ATTACHMENT="$IMAGES $ATTACHMENT"
fi
done
tail -n 10 ~/indigo_v1.1.5/log.txt | \
mutt -s "Indigo Render Update $NOW" -a $ATTACHMENT -- heavily@tessellated.localnet
Who is online
Users browsing this forum: No registered users and 115 guests