Hi,
It is possible to schedule actions in DSS using scenarios (https://doc.dataiku.com/dss/latest/scenarios/)
For the "export to folder on the local machine", you can directly use the "Export" recipe that writes to a managed folder, and rebuild the managed folder in your scenario. I am not sure exactly how you would envision exporting to the SQL database if it's not reachable from DSS, though.
Important note: scheduled scenarios are not available in the free edition of DSS.