File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -19,12 +19,12 @@ class Feedzy_Rss_Feeds_Task_Manager {
19
19
*/
20
20
public function register_actions () {
21
21
add_action (
22
- 'feedzy_send_error_report ' ,
22
+ 'task_feedzy_send_error_report ' ,
23
23
array ( $ this , 'send_error_report ' )
24
24
);
25
25
26
26
add_action (
27
- 'feedzy_cleanup_logs ' ,
27
+ 'task_feedzy_cleanup_logs ' ,
28
28
function () {
29
29
Feedzy_Rss_Feeds_Log::get_instance ()->should_clean_logs ();
30
30
}
@@ -34,7 +34,7 @@ function () {
34
34
'init ' ,
35
35
function () {
36
36
$ this ->schedule_weekly_tasks ();
37
- $ this ->schedule_daily_tasks ();
37
+ $ this ->schedule_hourly_tasks ();
38
38
}
39
39
);
40
40
}
@@ -64,14 +64,14 @@ public function schedule_weekly_tasks() {
64
64
* @since 5.1.0
65
65
* @return void
66
66
*/
67
- public function schedule_daily_tasks () {
67
+ public function schedule_hourly_tasks () {
68
68
if (
69
69
false !== Feedzy_Rss_Feeds_Util_Scheduler::is_scheduled ( 'task_feedzy_cleanup_logs ' )
70
70
) {
71
71
return ;
72
72
}
73
73
74
- Feedzy_Rss_Feeds_Util_Scheduler::schedule_event ( time (), 'twicedaily ' , 'task_feedzy_cleanup_logs ' );
74
+ Feedzy_Rss_Feeds_Util_Scheduler::schedule_event ( time (), 'hourly ' , 'task_feedzy_cleanup_logs ' );
75
75
}
76
76
77
77
/**
You can’t perform that action at this time.
0 commit comments