diff options
author | diosmosis <benakamoorthi@fastmail.fm> | 2013-11-01 17:21:56 +0400 |
---|---|---|
committer | diosmosis <benakamoorthi@fastmail.fm> | 2013-11-01 17:21:56 +0400 |
commit | 6ad190a3409f7edfc9240a8ca84bf70ddb7e4cda (patch) | |
tree | 981e28b00c238f055109aa83e2935315731273b2 /core/TaskScheduler.php | |
parent | d6a53479b1a94de30075273dc98120ba86dd5efe (diff) |
Refs #4200, documented ScheduledTime a bit and added a factory method that can be used to create ScheduledTime instances w/ one line of code.
Diffstat (limited to 'core/TaskScheduler.php')
-rw-r--r-- | core/TaskScheduler.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/core/TaskScheduler.php b/core/TaskScheduler.php index 4ab6d0122a..d474206b0e 100644 --- a/core/TaskScheduler.php +++ b/core/TaskScheduler.php @@ -25,6 +25,20 @@ define('DEBUG_FORCE_SCHEDULED_TASKS', false); * * Tasks are executed when the cron archive.php script is executed. * + * ### Scheduling Tasks + * + * **TODO** + * + * ### Examples + * + * **Scheduling a task** + * + * // TODO + * + * **Executing all pending tasks** + * + * // TODO + * * @package Piwik * @api */ |