- Posts: 5
- Thank you received: 0
Export to csv using crontab
- Mark McCulligh
- Topic Author
- Offline
- New Member
-
Less
More
9 years 5 months ago #71783
by Mark McCulligh
Export to csv using crontab was created by Mark McCulligh
I have a question around the export to csv code. I am trying to setup/code a crontab that will run hourly on the server to export all the new, renewals or upgraded membership. I need to import this into a third-pary software.
Can you give me some tips on how to do this. What is the SQL SELECT I would need to join all the right tables to get all the membership? Similar to the export to csv feature. Even if you just tell me were the code for the export is and I will look at it as long as it is not to complex the follow.
Can you give me some tips on how to do this. What is the SQL SELECT I would need to join all the right tables to get all the membership? Similar to the export to csv feature. Even if you just tell me were the code for the export is and I will look at it as long as it is not to complex the follow.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
9 years 5 months ago #71815
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Export to csv using crontab
Hi Mark
You can look at the file administrator/components/com_osmembership/controller/subscription.php, method export.
All the logic for the export is handled there and you can get the code you want to implement it
Regards,
Tuan
You can look at the file administrator/components/com_osmembership/controller/subscription.php, method export.
All the logic for the export is handled there and you can get the code you want to implement it
Regards,
Tuan
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.