Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-29953

Job to publish and unpublish sites based on a site property

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Awaiting Review
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Quartz Scheduler

      Description

      This is a simple job that publish any site with this site property:

      publish-date: 2015/05/15

      where the date is today's date in the moment the job runs, and is in that format (yyyy/MM/dd).

      And it unpublish sites following the same criteria about site properties:

      unpublish-date:2015/07/23

      If publish and unpublish date is the same, it unpublish it.

      If someone find this useful I can try to do a pull request to add this to Sakai 11. Meanwhile here is the patch in the case someone wants to use it.

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                Unassigned Unassigned
                Reporter:
                ddelblanco Diego del Blanco Orobitg
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:

                    Git Integration