Generate sitemap file

Permalink
I want to execute an automated job but I get the error that the file is not writable, can someone help me regarding this matter?