Page 1 of 1
POP3 utilization?
Posted: Tue Jul 08, 2008 11:37 pm
by Phr0stByte
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...
Posted: Wed Jul 09, 2008 12:07 am
by Borgleader
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.
Posted: Wed Jul 09, 2008 12:38 am
by SmartDen
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.
Posted: Wed Jul 09, 2008 12:55 am
by Borgleader
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.
I wanna test it too!!!!

Might not have much time during the day but this weekend I'm with ya.
Posted: Wed Jul 09, 2008 2:47 am
by zsouthboy
this could be bash scripted easily as well...
Posted: Wed Jul 09, 2008 2:50 am
by Phr0stByte
zsouthboy
Excellent idea...
Posted: Wed Jul 09, 2008 3:32 am
by SmartDen
so i have fewer to do

Posted: Wed Jul 09, 2008 3:37 am
by mrmoose
You can already do it.
Use Blat command line
http://www.blat.net
mrmoose

Posted: Wed Jul 09, 2008 5:52 am
by zsouthboy
Ah I see you could use Blat on Win32. Thanks for the link, that's a useful thing to know exists..
Posted: Thu Jul 17, 2008 5:06 am
by Heavily Tessellated
zsouthboy wrote:this could be bash scripted easily as well...
Indeed.
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
stuff that or something like it in your crontab... this uses mutt to send any images whose
modification time has changed as individual attachments, with a tail'd bit of the logfile...