Implement a shell script which is able to do the following tasks.
1. Download a CSV file from the Internet.
2. Remove unwanted lines (Comments) from the CSV file
3. Soft the CSV data according to the data type
4. Create a MySQL table only if; not exist on the database
5. Import the sorted CSV file without duplicates
6. Schedule this job to run on once a month.