Info about creating modules to work with cron

Info about creating modules to work with cron

by Miguel Angel Miranda -
Number of replies: 2

I want to write a module (within an already personalised block) to send mails to the techer with some remainders, activating this action with cron ...is there any doc about all the considerations y guidelines to make a function named "cron" within my block to accomplish this ?.  i'll thanks in advance any tips about "how to's" .

In reply to Miguel Angel Miranda

Re: Info about creating modules to work with cron

by Román Huerta -
Hi Miguel Angel, till now I have done this http://tracker.moodle.org/browse/MDL-14481.

Is it what you want?
In reply to Román Huerta

Re: Info about creating modules to work with cron

by Miguel Angel Miranda -

Gracias Román!

I downloaded the "lastversion", in order to read de code.. However, within block_calendar_upcoming.php the cron function calls "reminder_check_reminders($event->id);" on line 87 .. I looked for such inside  "'/calendar/reminderlib.php'" and did'nt find it. (i'm using moodle 1.9*) .. do you remember where it is?

Thanks a lot!!