Commit Graph

24 Commits

Author SHA1 Message Date
Frederic Massart 27548ec845 MDL-47529 task: Remove usage of lock when editing a task 2015-02-16 11:14:05 +08:00
Frederic Massart c33fdb5834 MDL-47529 task: Do not use lock when updating task records 2015-02-16 11:14:05 +08:00
Eloy Lafuente (stronk7) 3ce5c34735 Merge branch 'MDL-37584-27' of git://github.com/ankitagarwal/moodle into MOODLE_27_STABLE 2015-01-08 00:46:49 +01:00
Dan Poltawski d532fa77e3 Merge branch 'MDL-48442-27' of git://github.com/ankitagarwal/moodle into MOODLE_27_STABLE 2015-01-06 11:19:39 +00:00
Ankit Agarwal 4ccf2a872c MDL-48442 tasks: Make sure first run is as per schedule 2015-01-02 14:54:54 +05:30
Ankit Agarwal b61a836f50 MDL-37584 tasks: Use a senisible maximum time window for the task 2014-12-31 14:02:46 +05:30
Andrew Nicols 23fdeb32a5 MDL-48224 cron: Buffer SMTP connections around tasks 2014-12-12 10:39:26 +08:00
Adrian Greeve 405b413dd8 MDL-48252 scheduled tasks: file_temp_cleanup_task does full delete.
This scheduled task was previously only doing a partial delete
due to the fact that the directory modification time would be
updated when a child file was deleted. It would then have to
wait another week before that directory could be deleted.
2014-11-18 15:00:17 +08:00
Damyon Wiese eba4b02677 MDL-47499 tasks: Scheduled tasks custom schedule is reset on upgrade.
Add a unit test for reset_scheduled_tasks_for_component and make sure it doesn't clear
customised schedules for existing tasks.
2014-10-23 10:23:12 +01:00
Damyon Wiese 24276da9ce MDL-46904 core_task: Gracefully handle rubbish entries in the tasks table. 2014-08-20 17:02:02 +08:00
Marina Glancy cef5600303 MDL-46589 scheduled task does not send emails
Thanks to  Luděk Šulák  for the patch
2014-08-16 12:48:16 +08:00
Sam Hemelryk 3c129829ce MDL-46138 post integratino phpdoc fixes 2014-07-14 10:50:42 +12:00
Damyon Wiese f72a23d69b MDL-46138 tasks: The adhoc task is being too helpful with json_encoding/decoding. 2014-07-11 09:45:27 +08:00
David Mudrák 5e10e88673 MDL-45813 Fix variable name in scheduled task 2014-06-09 09:47:01 +02:00
Sam Hemelryk 72cf8ec5eb Merge branch 'MDL-45654-27' of https://github.com/rtcn2/moodle into MOODLE_27_STABLE 2014-05-26 08:58:13 +12:00
Rod Norfor d12b20d022 MDL-45654 cron: fix non-empty directories deletion
Remove errors when attempting to delete non-empty directories when
child directories do not get removed since the mtime was updated when
files were removed from the child directory.
2014-05-21 17:20:16 +01:00
Frederic Massart da6b4b9bf9 MDL-45527 task: Already deleted unconfirmed users are ignored 2014-05-13 17:11:18 +08:00
Ankit Agarwal 53b9e63b80 MDL-42891 administration: Replace use of logtable in notify_login_failures() with new logging apis 2014-04-01 17:35:01 +08:00
Petr Škoda 0a5aa65b53 MDL-44733 add support for disabling of scheduled tasks 2014-03-28 10:23:37 +08:00
Petr Škoda b7f7c3bcf2 MDL-44639 fix some phpdocs issues in tasks classes
There is also one extra () to improve code readability.
2014-03-20 17:32:56 +08:00
Damyon Wiese bbd9226cb8 MDL-44608 Scheduled Tasks: Use $CFG->timezone if it is set to schedule tasks 2014-03-14 11:47:03 +08:00
Petr Škoda 7eaca5a810 MDL-37658 add new logging API with basic implemenation 2014-02-28 14:52:24 +08:00
Damyon Wiese 76e4de31cc MDL-25505 Tasks: Fix for scheduled task bug on the last day of the month.
On the last day of the month, the scheduled task next time calculation was wrapping
to the 0th day of the month (which is not a valid day).
2014-02-28 13:14:58 +08:00
Damyon Wiese 309ae8921f MDL-25499: Centralise management of all types of cron tasks
Centralise management of all types of cron tasks with registration, scheduling,
parallel task conflicts(blocking) and running once off tasks, all using an
administration screen.

This is a combination of several issues:

MDL-25502: Added "black magic" task allocator for cron
MDL-25503: Add step to cron to run all scheduled tasks
MDL-25504 cron: Refactor to use scheduler
MDL-25505: Add an admin interface to schedule tasks via cron.
MDL-25507: Add support for adhoc tasks.
2014-02-26 12:03:46 +08:00