App\Core_CronScheduler
Inherited from cmsApplication_List
Public Attributes
public | CRON_COMMAND_INTERNAL | = 0 |
public | CRON_COMMAND_EXTERNAL_URL | = 1 |
Protected Methods
protected | updateExistingCronItem($id, $datavalues) |
protected | executeCronByID($item) |
protected | recordItemActivity(int $cron_id, string $cron, string $date_start, string $date_end, string $date_expected_next_run, string $command, string $log) Record log $SystemDB
|
protected bool | isThereTaskWithCronIDandNextExpectedDateRun(int $cron_id, string $date_expected_next_run) Deprecated as of v2.0.3. Checks CRON log if this task has been run. Deprecatedsince version 2.0.3 $SystemDB
since version 2.0.3 $SystemDB
|
Public Methods
public | __construct() |
public | viewItemByID(int $id=1, bool $from_cache=false) Loads the item and display it with view.item.template.php
|
public boolean | getNearestUNIXTimeFromCronString(string $string) Find out the nearest time from now when this cron string going to be run
|
public | gotoPreviousMonth($array_months) |
public boolean | createDefaultSchedulerForMyApplicationStaticMethod(string $description, string $app_static_method, string $default_cron_string) Create a default scheduled task for your own app $SystemDB
|
public | getApplicationStaticMethods() |
public | runAllScheduledItems() |
public | runScheduledItemsManually() |
public boolean | Run(string $command) Runs command. If return value is true, then it will be displayed as a full page If return value is false, AJAX method is assumed
|
Public Static Methods
public static | processRunCleanupLog() CRON command - clean up log SCHLIX $SystemDB cms $SystemLog
|