title: Extract the contact form 7 data and send as an attachment through cron job
body: <p>I have multiple contact forms and I am using <code>contact form 7</code> and I am using <a href="https://wordpress.org/plugins/advanced-cf7-db/" rel="nofollow noreferrer">Advanced CF7</a> to extract the CSV reports. 
  I want to write the cron job using <code>WP-Cron</code> or any other plugin to extract the CSV reports weekly and email the sheets to given email address. How can I achieve this?</p>