r/code • u/Palpitation_Powerful • Jun 18 '24
Help Please Automate csv imports to postgres
I'm a database dev trying to automate csv imports into my postgres database.
I have a query that I run manually changing the file name. Is there a way to automate this process? Maybe using cmd.
I think its something with .bat file but not really sure how to start. any help would be great. Thanks
2
Upvotes
View all comments
Show parent comment
2
u/Palpitation_Powerful Jun 18 '24
Thanks for the reply. My understanding of Cron is that its kinda an advanced task scheduler? I need to make a bat file that