Moodle

Cron in sites to update hubs with latest site information (weekly)

Details

  • Type: Task Task
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 2.0
  • Fix Version/s: 2.0
  • Component/s: Hub
  • Labels:
    None
  • Affected Branches:
    MOODLE_20_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Description

  • We need a cron task (admin/cron.php) for Moodle sites that updates site information on any hubs it is connected to, weekly.
  • 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.
  • The cron job that updates registration info on the hub should quietly be skipped when XML-RPC is not present.

Issue Links

Activity

Hide
Jerome Mouneyrac added a comment -

Note: /local/hub/cron.php seems to be supported

Show
Jerome Mouneyrac added a comment - Note: /local/hub/cron.php seems to be supported
Hide
Jerome Mouneyrac added a comment -

Site can register without xmlrpc
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 the cleaning functionality on the hub. Writing an issue for that...

Show
Jerome Mouneyrac added a comment - Site can register without xmlrpc 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 the cleaning functionality on the hub. Writing an issue for that...

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: