thank you for sharing but why don't you use the RemoteControl API function export_responses ?
Otherwise if something within LimeSurvey changes your export code will not properly be working anymore.
A JSONRPC client is even included within LimeSurvey. Look at function test() of the remotecontrol controller.
Luke, can you let us know with which Limesurvey versions your script works?
Do you always have to call the script manually or can it also be set up as a daily cron job?
Best regards/Beste Grüße,
Dr. Marcel Minke
survey-consulting.com
offlinesurveys.com
Feel free to contact me by email for professional LimeSurvey support!
Best regards/Beste Grüße,
Dr. Marcel Minke
survey-consulting.com
offlinesurveys.com
Feel free to contact me by email for professional LimeSurvey support!
I'm interested in automating survey response exports and sending via email using the API but I really have no idea how to get started. Has anyone done this or would you be willing to create something I could run through a cron job?