protected function execute() {		
		parent::execute();
		$this->loadPlannedTask();
		if ($this->accountSettings->get(Pap_Settings::NOTIFICATION_PAY_DAY_REMINDER) == Gpf::YES &&
		$this->isPending('payDayReminderSend', $this->_('Send pay day reminder'))) {
			$this->sendPayDayReminder();
			$this->setDone();
		}
	}
    protected function execute() {
        parent::execute();
        $dateFrom = $this->getDateFromParams($this->getParams());

		$this->processMerchantReports($dateFrom);
        if ($this->hasAffiliateAnyReportOn()) {
            $this->processAffiliatesReports($dateFrom);
        }
        
        $this->updatePlannedTaskParams();
    }