General developer forum

completion_cron() deprecated in 3.4

 
Picture of Hossein Poursaeedi
completion_cron() deprecated in 3.4
 

Guys ,

currently i upgrade moodle to 3.4 ,may i know what function can i use instead of 'completion_cron()'  in the code.

in my cron schedule task, i need to run  'completion_cron()'  some times before doing other parts of my task.

do i need to use : completion_regular_cron() and completion_daily_cron() together instead?


p/s: in general, can we call any other task inside my schedule task ?

thanks

 
Average of ratings: -