|
Stud.IP
jlu_4.3 Revision 64286
|


Public Member Functions | |
| execute ($last_result, $parameters=array()) | |
| setUp () | |
| tearDown () | |
Static Public Member Functions | |
| static | getName () |
| static | getDescription () |
| static | getParameters () |
| static | register () |
| static | unregister () |
|
abstract |
Execute the cronjob.
| mixed | $last_result | What the last execution of this cronjob returned. |
| Array | $parameters | Parameters for this cronjob instance which were defined during scheduling. |
Reimplemented in CheckAdmissionJob, CleanObjectUserVisits, CleanupLogJob, GarbageCollectorJob, PurgeCacheJob, SendMailNotificationsJob, SendMailQueueJob, SessionGcJob, and Cronjob.
|
staticabstract |
Return the description of the cronjob.
Reimplemented in Cronjob, CheckAdmissionJob, CleanObjectUserVisits, CleanupLogJob, GarbageCollectorJob, PurgeCacheJob, SendMailNotificationsJob, SendMailQueueJob, and SessionGcJob.
|
staticabstract |
Return the name of the cronjob.
Reimplemented in Cronjob, CheckAdmissionJob, CleanObjectUserVisits, CleanupLogJob, GarbageCollectorJob, PurgeCacheJob, SendMailNotificationsJob, SendMailQueueJob, and SessionGcJob.
|
static |
Returns a list of available parameters for this cronjob.
Each parameter is an entry in the resulting with a unique identifier with the following array fields:
Example:
return array( 'area' => array( 'type' => 'select', 'values' => array('seminar', 'institute', 'user'), 'description' => 'Example parameter #1', ), 'verbose' => array( 'type' => 'boolean', 'default' => false, 'status' => 'optional', 'description' => 'Example parameter #2', ), );
| Array | List of paramters in the format described above. |
Reimplemented in Cronjob, CheckAdmissionJob, CleanObjectUserVisits, CleanupLogJob, GarbageCollectorJob, PurgeCacheJob, SendMailNotificationsJob, and SendMailQueueJob.
|
static |
Registers the cronjob and/or returns the corresponding task.

| setUp | ( | ) |
Setup method.
Reimplemented in Cronjob, CheckAdmissionJob, CleanupLogJob, GarbageCollectorJob, PurgeCacheJob, and SendMailNotificationsJob.
| tearDown | ( | ) |
Teardown method.
Reimplemented in Cronjob.
|
static |
Unregisters a previously registered task.
| String | $task_id | Id of the task to be unregistered |
| InvalidArgumentException | when no task with the given id exists |
