So, thanks to some Googling and a lot of trial and error, I found a solution that I thought I would share.
You can use WGET to store session / cookie information by storing and loading cookies. Magento has its limitations, since you need to set a session cookie before entering the system, or the script will be redirected to the "enable-cookies" page, and not to the system, so here is the script;
#!/bin/bash
This is the foundation, so itโs very easy to download all the URLs from the sitemap.xml file and build registered versions of the cache.
Suitable for Grafista to manage cookie information.
Happy caching!
EDIT - HOW TO ASK SHOW ORIGINAL CODE
Here is the code for cycling around the site map and loading each page to create a cache for guests. Save this as cachewarm.sh and create a cronjob to run it every night (remember to delete or release pagecache first).
#!/bin/bash
source share