def METHOD_NAME(self):
    """
    Pages:
        in: Any page
        out: page_shipyard
    """
    if self.config.Shipyard_BuyAmount <= 0 and self.config.ShipyardDr_BuyAmount <= 0:
        self.config.Scheduler_Enable = False
        self.config.task_stop()
    logger.hr('Shipyard DR', level=1)
    logger.attr('ShipyardDr_LastRun', self.config.ShipyardDr_LastRun)
    if self.config.ShipyardDr_LastRun > get_server_last_update('04:00'):
        logger.warning('Task Shipyard DR has already been run today, skip')
    else:
        self._shipyard_bp_rarity = 'DR'
        self.shipyard_run(series=self.config.ShipyardDr_ResearchSeries,
                          index=self.config.ShipyardDr_ShipIndex,
                          count=self.config.ShipyardDr_BuyAmount)
    logger.hr('Shipyard PR', level=1)
    logger.attr('Shipyard_LastRun', self.config.Shipyard_LastRun)
    if self.config.Shipyard_LastRun > get_server_last_update('04:00'):
        logger.warning('Task Shipyard PR has already been run today, stop')
        self.config.task_delay(server_update=True)
        self.config.task_stop()
    else:
        self._shipyard_bp_rarity = 'PR'
        self.shipyard_run(series=self.config.Shipyard_ResearchSeries,
                          index=self.config.Shipyard_ShipIndex,
                          count=self.config.Shipyard_BuyAmount)
    self.config.task_delay(server_update=True)