Skip to content

Commit 7450173

Browse files
[FEATURE] Cron: Deprecate cron hook plugin and job provider interface
1 parent 48e4fbf commit 7450173

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

components/ILIAS/Cron/src/CronHookPlugin.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222

2323
use ILIAS\Cron\Job\JobProvider;
2424

25+
/**
26+
* @deprecated 11.0 Cron jobs will be contributed by a component's <Component>.php file in future versions of ILIAS
27+
*/
2528
abstract class CronHookPlugin extends \ilPlugin implements JobProvider
2629
{
2730
}

components/ILIAS/Cron/src/Job/JobProvider.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020

2121
namespace ILIAS\Cron\Job;
2222

23+
/**
24+
* @deprecated 11.0 Cron jobs will be contributed by a component's <Component>.php file in future versions of ILIAS
25+
*/
2326
interface JobProvider
2427
{
2528
/**

0 commit comments

Comments
 (0)