Daemons

From XOMBO Documentation

Jump to: navigation, search

CRON Scripts - Background processes that run on the server at regular intervals.

Page Render - A service responsible for rendering slow or large requests in the background while presenting the user with a loading screen.

CRON Scripts

The following scripts are daemons and must be ran at the proper intervals for XOMBO Platform to operate properly:

  • cron.sh - Runs the following four (3) scripts & cronExecutor with no delay, every minute.
    • cronAliases.php - Checks for users without appropriate aliases and sets them accordingly.
    • cronCleaner.php - Cleans specific directories and caches.
    • cronEmailer.php - To prevent relaying e-mail(s) from preventing the page from rendering immediately, messages are added to a queue to be sent in the background at a later time.
  • cron_15.sh - runs cronExecutor every minute with a 15 second delay.
  • cron_30.sh - runs cronExecutor every minute with a 30 second delay.
  • cron_45.sh - runs cronExecutor every minute with a 45 second delay.
    • cronExecutor.php - For queuing shell commands & background page rendering on servers with safe_mode=On.
  • cron_daily.sh - Updates XOMBO Platform version to latest SVN copy (Alpha-only).
  • permissions.sh - Updates file permissions to defaults.

File ./scripts/      ★      SVN http://svn.xombo.org/svn/platform/current/trunk/scripts/ API DOCS

Page Render

The background page rendering service allows for database-intensive and time-consuming requests to be delayed until a suitable time. The renderPage.php service is triggered automatically by the above CRON Scripts, if enabled. Requests off-loaded to the background page rendering service will initially be presented with a "Loading" screen and animation until the page has been completed successfully.

File ./scripts/renderPage.php      ★      SVN http://svn.xombo.org/svn/platform/current/trunk/scripts/renderPage.php API DOCS

Personal tools