phpDocumentor pivotx
[ class tree: pivotx ] [ index: pivotx ] [ all elements ]

Procedural File: scheduler.php

Source Location: /scheduler.php

Page Details
Includes
require_once (dirname(__FILE__).'/modules/module_moblog.php') [line 53]
[ Top ]

require_once (dirname(__FILE__).'/lib.php') [line 52]
[ Top ]


Constants
PIVOTX_INSCHEDULER  [line 26]

PIVOTX_INSCHEDULER = TRUE

The PivotX scheduler script. This file contains the functions that need to be run periodically.

For now it's just

  • cache cleaning
  • checks for timed publish entries
  • moblogging
but we might add other functions here at a later date.


[ Top ]


Functions
cleanCache  [line 117]

void cleanCache( )

Go through the cache folder, clean old files.



[ Top ]
cleanCacheDelete  [line 196]

void cleanCacheDelete( string $path, string $entry, int $maxage  )

Helper function for cleanCacheFolder().

Parameters:
string   $path: 
string   $entry: 
int   $maxage: 

API Tags:
See:  cleanCacheFolder();


[ Top ]
cleanCacheFolder  [line 143]

void cleanCacheFolder( string $path  )

Helper function for cleanCache().

Parameters:
string   $path: 

API Tags:
See:  cleanCache();


[ Top ]


Documentation generated on Tue, 05 Sep 2017 01:06:15 +0200 by phpDocumentor 1.4.3