How to connect SQL + cron + FTP?

Colleagues! This spring and last holidays :)
Please help in solving this problem.

Database SQL
FTP account (host, whatever)

CZK to write SQL to export data from SQL database in CSV format.
To teach kroons (but most likely will need a gasket) to copy the resulting file to FTP.

Here I have no idea what to look for and where to look.
How to solve the problem?

Thank you all!
June 26th 19 at 13:56
1 answer
June 26th 19 at 13:58
Exhaustively! - lura2 commented on June 26th 19 at 14:01

Find more questions by tags CronSQLMySQL