The script is in /etc/cron.daily.
When I had database name = baseName and the table = tableName, the below script to empty the table worked well :
#!/bin/bash
mysql -u root --password=PASSWD -e "DELETE FROM baseName.tableName"
But I needed to rename the database in baseName.fr.value so I basically modified my script to
#!/bin/bash
mysql -u root --password=PASSWD -e "DELETE FROM baseName.fr.value.tableName"
But I got an You have an error in your SQL syntax, check the manual...
So what's the correct syntax when there's a . in the database name ?