Dealing with ipcheck output

Joe Kraft jvk-list at thekrafts.org
Fri Nov 11 01:33:59 GMT 2005


I'm running ipcheck as a cron job, it runs fine and seems to keep my 
address updated with dyndns.com but I'm trying to figure out how to deal 
with the e-mails I get from cron.

I would prefer to not get the ones that don't show anything abnormal, 
but keep the ones that show something else like a change in IP, or a 
failure.

I don't know python at all, so I don't understand where the return comes 
from, but it outputs a '0' on the first line and a set of empty brackets 
'[]' on the second line.

Joe



More information about the freebsd-questions mailing list