Export CSV via command line (wget)
Is there a way to access the export to CSV function via wget, or some other command line tool?
I want to set up a cron to periodically grab the CSV export for my cars as a backup. But, I've tried a couple different things and always get redirected to the login screen. Is there a way I can pass my credentials over as part of the export request? Thanks. |
No, there's no built-in way to automate exports. You'll have to write a script to simulate a standard browser. So the first request would be for the login form, grab all the cookies that come with that, and then simulate your form post to the export page.
|
Ok, good enough. Time to get my WWW::Mechanize on! Thanks.
|
All times are GMT -8. The time now is 02:50 AM. |
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2025, vBulletin Solutions, Inc.