On debian 8.9
I want to check my ip address and send email every hour.
what I want to do is
1.Check my server ip address -> curl globalip.me2.Send ip address by email.
A. I know how to send mail in command line.B. I know how to setup crond.
However A requires manual response, so I don't know how to use A in B setting.
Is there any good way ??