Moodle

Create cron to delete not updated site

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Won't Fix
  • Affects Version/s: 2.0
  • Fix Version/s: None
  • Component/s: Hub
  • Labels:
    None
  • Affected Branches:
    MOODLE_20_STABLE

Description

create a cron job on the hub to delete the site that haven't been updated in the last month. Send an email to all delete sites.

Issue Links

Activity

Hide
Jerome Mouneyrac added a comment -

A site can register without xmlrpc
A site can update only with xmlrpc atm
=> we can not delete site that doesn't update, it doesn't mean that they don't exist anymore.

Once we go through a mandatory protocol (JSON, REST..., a protocol that doesn't require any optional PHP module) we'll ne able to implement this cleaning functionality on the hub.

Show
Jerome Mouneyrac added a comment - A site can register without xmlrpc A site can update only with xmlrpc atm => we can not delete site that doesn't update, it doesn't mean that they don't exist anymore. Once we go through a mandatory protocol (JSON, REST..., a protocol that doesn't require any optional PHP module) we'll ne able to implement this cleaning functionality on the hub.
Hide
Martin Dougiamas added a comment -

Jerome, could you please fix this issue:

1) It should not have a fixed version of 2.0.1 if it was not fixed in 2.0.1.
2) If it is a duplicate, then it should have a link to the main issue (and again, no version number here)

Show
Martin Dougiamas added a comment - Jerome, could you please fix this issue: 1) It should not have a fixed version of 2.0.1 if it was not fixed in 2.0.1. 2) If it is a duplicate, then it should have a link to the main issue (and again, no version number here)

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: