Exports and Reports
Daily Export of CSV (4 posts)

  1. magus824
    Posted 3 years ago #

    Is there a way to have a daily export of the CSV created? This would be a great way to make the CSV readily available to the end-user, as you could post a link to the CSV, and it would automatically be updated every day. Please let me know if this is possible!


  2. Scott Kingsley Clark
    Plugin Author

    Posted 3 years ago #

    Not yet, but that's a great idea to have it automatically generated on a schedule.

  3. magus824
    Posted 3 years ago #

    How about the following:

    Is it possible to run a Cron Job that would run through it twice a day? I am using the plugin Crony Cronjob Manager which is also by you (are you some sort of wizard? you have created some amazing plugins!) and wondering if it is possible to use that to schedule the export?

    I currently only have the field "URL to Load" filled out with "https://www.mysite.com/wp-admin/admin.php?page=exports-reports&action=export&export_type=csv", but I believe that I am doing it wrong. Is there any way you could help me with what to put into those other fields to get the Exports and Reports to run through Cron Job? I have adjusted the file Admin.class.php so that it would remove the line

    '_' .date_i18n('m-d-Y_h-i-sa').

    when exporting so that the link will always stay the same.

    Is this a good solution, or am I going about it the wrong way? Appreciate your help!

  4. Scott Kingsley Clark
    Plugin Author

    Posted 3 years ago #

    Yes, it's possible, but the problem with setting up that cron is that you have to be logged in and authenticated as a user with access to that report to view that page.

    So this would have to be done via another way, which may require a bit more work on the plugin / PHP side to make possible.

    Also, yes I am a wizard, see http://pods.io/ for proof :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Exports and Reports
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic