diff --git a/cron.php b/cron.php index a202ca60ba..086f96f366 100644 --- a/cron.php +++ b/cron.php @@ -48,6 +48,8 @@ function handleUnexpectedShutdown() { $RUNTIME_NOSETUPFS = true; require_once 'lib/base.php'; +session_write_close(); + // Don't do anything if ownCloud has not been installed if( !OC_Config::getValue( 'installed', false )) { exit( 0 );