I can't do it with a curl post request.
How can I customize assets location? 
I checked the docs and it said that I can send an url and a path, but it's not working for me.
It needs to be public?
Is the assets folder a tmp folder?
Is it possible to modify $_SERVER when the cron task auto generate a pdf? 
My $_SESSION when a cron task runs:
Array
(
    [HOME] => /var/www
    [LOGNAME] => www-data
    [PATH] => /usr/bin:/bin
    [SHELL] => /bin/sh
    [PWD] => /var/www
    [PHP_SELF] => /var/www/html/glpi/front/cron.php
    [SCRIPT_NAME] => /var/www/html/glpi/front/cron.php
    [SCRIPT_FILENAME] => /var/www/html/glpi/front/cron.php
    [PATH_TRANSLATED] => /var/www/html/glpi/front/cron.php
    [DOCUMENT_ROOT] => 
    [REQUEST_TIME_FLOAT] => 1735905721.5259
    [REQUEST_TIME] => 1735905721
    [argv] => Array
        (
            [0] => /var/www/html/glpi/front/cron.php
        )
    [argc] => 1
)
No Koolreport or my plugin path, name or filename information