I have a sitemap that is generated the same way as regular webpage(index, contacts, etc..). Now I want to just run cron once a day/week and save sitemap.xml to /web directory.
Is it possible to save .twig template output to /web directory of the website?
Thanks
PS: I'm planning to create symfony command to generate sitemap.xml to /web directory. But I'm not sure if it's gonna work.