Gravity Forms Schedule Entries Export
This plugin is the add-on for Gravity Forms that exports any gravity form entries to a .CSV file or/and send the file to email address(es) on a schedule. So if you have some gravity form collecting user submissions and want to get exported entries automatically, then we believe that this the best solution for you!
Version 1.0.0 - 07 Dec 2016 ### Initial release
Version 1.0.1 - 06 Mar 2017 ### 1) Added new item "Yearly" for the "Time Frame" drop-down selection ### 2) Fixed minor bugs
Version 1.0.2 - 06 July 2017 ### 1) Fixed multisite export bug ### 2) Fixed email headers bug ### 3) Fixed empty email body bug
Version 1.0.3 - 21 Aug 2017 ### 1) Fixed bug in search criteria filter applying on export ### 2) Fixed minor bugs
Version 1.0.8 - 27 Oct 2017 ### 1) Fixed exporting result bug, the result was limited by 20 items, now all exported items are included to the export file ### 2) Added GFSEE_DISABLE_EXPORT constant which allows to disable exporting function in the plugin. ### 3) Added additional information to the plugin feed's settings: Server time and Next Export time. ### 4) Fixed a bug causing wrong exporting result in some cases ### 5) Added new option to the plugin settings "Export Time Frame". Now you can set "Export Time Frame" and "Export Schedule" separately.
Version 1.1.1 - 13 Apr 2018 ### 1) Fixed a conflict with default Gravity Form export feature ### 2) Added a feature to set a folder for the export file ### 3) Added an option to disable email sending when exporting is done
Version 1.2.1 - 17 May 2018 ### 1) Added new feature to set date and time for first exporting (for minute, hourly and daily schedules only) ### 2) Fixed minor bugs
Version 1.2.5 - 21 July 2018 ## Fixed bugs
Version 1.3.2 - 20 Dec 2018 ## Fixed PHP notices bug ## Fixed a bug related with the exported files having the same names ## Fixed parallel exporting bug ## Fixed bug with default GF export file which should be unset once export is finished; ## Added a new "Export" column on the Forms List page. The columns shows the forms having at least one export task;
Version 1.3.5 - 5 Apr 2019 ## Fixed bug with the hourly schedule option, it caused the export done every minute. ## Added more debug information to the log when email errors occur ## Fixed the bug when an email is sent with the empty export file.
How it works?
For example there is the form called “Test”. Once user send a submission, then it appears as entry in “Test” form entries screen in the dashboard.
When there are a lot of entries, you may want to export the entries into .CSV file and do it automatially on a schedule. This is very easy to do using our Plugin. Just go to the Form Setting page and click on “Schedule Export Entries” tab.
You will see “Schedule Export Entries Feeds” page for the form. Just click on a “Add New” button and create a new task to export the entries automatically. Also you can see the “Current time” value on this page. It should help you to create task, because website current time and your local time on computer can be different. The plugin works with website time.
Please look at screenshots below there is an example of the new task Setting page.
You can set up to get the exports to your email. Also It’s possible to set several email addresses.
Also it’s possible to allow saving the export on your server. In this case you need to set the folder for the export. If you keep a path to the folder empty, our plugin will use the website root folder. Once you try to save, it checks whether the folder is writable.
Please note you need save your task. After that you are done and your task will be executed on a schedule.
The new task Setting page Fields
As you can see in the previous screenshots, there are different fields to configure your task. Lets dicuss each one:
- Name – required field, enter some unique name to indetify your task.
- Export Schedule – required field, set how frequently the entries are exported and emailed..
- Custom Start Date – Set the custom start date when the first export should be done (for minute, hourly and daily schedules only)
- Export Time Frame – required field, set a time frame within which the entries should be selected..
- To Email Addresses – enter a comma separated list of email addresses you would like to receive the exported entries file.
- From Email Address – enter the email address you would like the exported entries file sent from.
- Message – enter a message for the export email.
- Form Fields – required feield, select the fields you would like to include in the export.
- Condition – set conditional logic that must be met before sending the export.
- Enable email CSV – send the email after the export is done.
- Save CSV on your server – save the export data on the server in a file
- Directory on your server – set a directory on your server when the export file should be saved; the path should be relative from your website root.
Linux Cron Job vs. WP-Cron
Have you ever noticed that your scheduled posts in WordPress are missing? Though WordPress has its own cron feature that dictates the scheduling of your blog’s posts and events, WP-cron is not a literal cron job.
Linux cron jobs can be controlled by the user, making certain that the items constrained by schedule are run appropriately. Also, for a high-traffic WordPress site, a Linux cron job can assist with reducing the chances of downtime by lowering the bandwidth on the server, thus using less server resources.
WP-cron is a virtual cron that only works when the page is loaded. WP-cron is first loaded by WordPress when a page is requested on the front or backend of a site at which point WP-cron displays the necessary page to the site visitor.
How to Replace WP-Cron With a Linux Cron Job
The best way to optimize the efficiency of your WordPress cron jobs is to disable WP-cron and set up a normal cron job through cPanel which will run every hour.
You can disable WP-cron by modifying the wp-config.php (located in the folder where WordPress is installed). Open the wp-config.php file, add a new line after <?php, then add the following code on the new line:
To set up a Linux cron job:
- Log into your cPanel.
- In the Advanced section, click Cron jobs.
- Under Add New Cron Job, select the time interval. We recommends that you do not set the interval lower than 15 minutes.
- Set the cron command to the following, replacing yourwebsite.com with your actual domain name:
wget -q -O - http://yourwebsite.com/wp-cron.php?doing_wp_cron >/dev/null 2>&1
- Click Add New Cron Job to set the cron.
When exporting to CSV, I do not receive the emails? Why?
If you have problem with getting the emails, please make sure you have enabled the Enable email CSV option. Also note the email will be sent if the export includes at least one entry. If you have checked all options, but emails are not received, please send the request to your hosting/server provider and ask why the default WordPress email function doesn’t work on your account. They often able to solve your issue very fast.
file: gfexportentries/index.php line: 1156 function: wp_mail( $recipient, $subject, $message, $headers, $filename );
How to install WooCommerce Gravity Forms Schedule Entries Export plugin?
Thank you so much for reviewing this item. We’d be glad to help you if you have any questions relating to this item. Also do rate the plugin if you like it