as the title suggests, I want to take a backup of all scripts that are there in the Database (not the DATA, only scripts).
Now i know that this can be done through the Generate Scripts wizard.
I want to know, how can I automate this task. e.g. create it as a JOB that runs daily.