Re: How can I run a function when a course module is deleted in moodle? isalpikachu k - 2022年03月26日 星期六 00:57 回帖数:0 I didn't know there was a recycle bin in moodle so they weren't exactly deleted that's why it didn't run, also cron script doesn't run automatically on local so the recycle bin wouldn't even show up so I just disabled it. 平均分: - 永久链接 显示父帖 回复