Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
I want to export data(CSV file) to folder when my platform update how i can do please suggest me.
Hello, Nuttapol.
A couple of clarifying questions about this;
What exactly do you mean by 'when my platform update?' Is this when you update from 7.3.3 to 7.3.4, for example? Or something else.
What are you using for the persistence provider? PostgreSQL or another database?
Thanks,
-- Craig A.
i'm sorry for the misinterpretation of my previous question.
i would like to automate the process of collecting data from the table, i would like a CSV file to automatically be downloaded every 5 minutes
You can download from marketplace the extension CSV parser. And then you can create a scheduler thing. Inside this you can configure the cron to perform every 5 minutes.
Where do you want the file to download to? To a users computer, or to a file repository? If it is to a file repository, you can use the service on the file repository to write a text file using the create text file service and then ruun that on a scheduler or a timer event.