Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Scott Kingsley Clark

    (@sc0ttkclark)

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

    Thread Starter magus824

    (@magus824)

    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!

    Plugin Author Scott Kingsley Clark

    (@sc0ttkclark)

    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 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Daily Export of CSV’ is closed to new replies.