Archive.php only cli

Hi,

I would like to see the archiving to be 100% cli based and not making any (curl) requests to the webserver or at least not using the index.php.

This way we can set different limits (time/memory) just for archiving that don’t apply to the normal site. Also it makes it a lot easier since it’s then only run bu php-cli and not both cli and cgi (or whatever version you use with your webserver).

Take a look at misc/cron/archive.sh - configure a cronjob to run that script and there will be no requests made to your webserver. It uses the PHP binary installed on your system directly.