Reviewed: https://reviews.mahara.org/909 Committed: http://gitorious.org/mahara/mahara/commit/df1d497a676e01928c6d5dbf06c9c27afddf3252 Submitter: Francois Marier ([email protected]) Branch: master
commit df1d497a676e01928c6d5dbf06c9c27afddf3252 Author: Hugh Davenport <[email protected]> Date: Fri Dec 2 12:09:23 2011 +1300 Clean up session files in OS-independant way Bug #863895 This changes the function to be similar to the function file_cleanup_old_cached_files in lib/file.php It uses php functions instead of relying on shell commands existing. Change-Id: Ie6b94f04e589e6f81c76d91fdc975744358dd2ab Signed-off-by: Hugh Davenport <[email protected]> -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. https://bugs.launchpad.net/bugs/863895 Title: Session files not cleaned except on linux Status in Mahara ePortfolio: Fix Committed Bug description: Since out Update to Mahara 1.4 the cron job isn't working any more. Even though it is setup properly Mahare reports that the cron job isn't running. Here's what the Apache log says: [DBG] e7 (lib/cron.php:146) Running core cron rebuild_artefact_parent_cache_dirty [DBG] e7 (lib/cron.php:502) Skipping long-running cron job core_auth_handle_account_expiries (Wed, 21 Sep 2011 10:06:01 +0200). [DBG] e7 (lib/cron.php:146) Running core cron activity_process_queue [DBG] e7 (lib/cron.php:146) Running core cron import_process_queue [DBG] e7 (lib/cron.php:168) ---------- cron finished Thu, 22 Sep 2011 09:35:01 +0200 ---------- [DBG] 38 (lib/cron.php:45) ---------- cron running Thu, 22 Sep 2011 09:36:01 +0200 ---------- [DBG] 38 (lib/cron.php:146) Running core cron rebuild_artefact_parent_cache_dirty [DBG] 38 (lib/cron.php:502) Skipping long-running cron job core_auth_handle_account_expiries (Wed, 21 Sep 2011 10:06:01 +0200). [DBG] 38 (lib/cron.php:168) ---------- cron finished Thu, 22 Sep 2011 09:36:01 +0200 ---------- [DBG] db (lib/cron.php:45) ---------- cron running Thu, 22 Sep 2011 09:37:01 +0200 ---------- [DBG] db (lib/cron.php:146) Running core cron rebuild_artefact_parent_cache_dirty [DBG] db (lib/cron.php:502) Skipping long-running cron job core_auth_handle_account_expiries (Wed, 21 Sep 2011 10:06:01 +0200). [DBG] db (lib/cron.php:168) ---------- cron finished Thu, 22 Sep 2011 09:37:01 +0200 ---------- A nonrecoverable error occured. This probably means you have encountered a bug in the systemxargs: illegal option -- r xargs: Usage: xargs: [-t] [-p] [-e[eofstr]] [-E eofstr] [-I replstr] [-i[replstr]] [-L #] [-l[#]] [-n # [-x]] [-s size] [cmd [args ...]] A nonrecoverable error occured. This probably means you have encountered a bug in the systemxargs: illegal option -- r Server OS: SunOS PHP Version: 5.2.9 Database: MySQL Mahara Version: 1.4 Browser: Firefox 7.0.1 To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/863895/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : [email protected] Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp

