[ecash-herald] Send daily summaries based on time (like cron) and not block timestamps
Summary:
Send herald daily summaries using a cron job, instead of sending them "after the first block with a timestamp on a new day"
This allows us to send messages at the same time every day.
We also send these cron job messages to a new channel. Having a channel dedicated to daily summaries is more user friendly than a channel of all the blocks, which is more for power users and devs.
Note: for now, we keep the "send daily summaries to main herald channel on first block of the new day" functionality. Want to make sure this works before taking that out.
Test Plan: npm test, edit cronjob terms in index.js for 5 min in the future, node index.js, msg sends in 5 minutes to channel configured in secrets.js
Reviewers: #bitcoin_abc, emack
Reviewed By: #bitcoin_abc, emack
Differential Revision: https://reviews.bitcoinabc.org/D16965