Skip to content

Commit

Permalink
Updated: Added cluster disk support to cronjob scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
brookinsconsulting committed Dec 24, 2018
1 parent b9aba79 commit 05a32bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cronjobs/generate.php
Expand Up @@ -285,6 +285,8 @@
* BC: Write sitemap xml file to disk
*/
$dom->save( $xmlDataFile );
$fileHandler = eZClusterFileHandler::instance();
$fileHandler->fileStore( $xmlDataFile, 'sitemap', true, 'text/xml' );

/**
* BC: Alert user of script completion
Expand Down
2 changes: 2 additions & 0 deletions cronjobs/generatemultilingual.php
Expand Up @@ -368,6 +368,8 @@ function executionTimeDisplay( $srcStartTime, $cli, $isQuiet )
* BC: Write sitemap xml file to disk
*/
$dom->save( $xmlDataFile );
$fileHandler = eZClusterFileHandler::instance();
$fileHandler->fileStore( $xmlDataFile, 'sitemap', true, 'text/xml' );

/**
* BC: Alert user of script completion
Expand Down

0 comments on commit 05a32bb

Please sign in to comment.