Scheduled Tasks

i am trying to add a scheduled task in suitecrm/public/legacy/custom/Extension/modules/Scheduler /Ext/ScheduledTasks/RunQuestionDate.php

<?php

    array_push($job_strings, 'runQuestionDate');

    function runQuestionDate(){
        require_once 'include/TimeDate.php';
        try{
            $SLAManager = new SLAManager();
            $SLAManager->start();
        } catch(Exception $e){
            LoggerManager::getLogger()->error("SLA task Error: " . $e->getMessage());
        }

    }

and in suitecrm/public/legacy/custom/Extension/modules/Scheduler /Ext/Language/en_us.runQuestionDate.php

<?php
//We add the mod string for our method here.
// $mod_strings['LBL_CLEANMEETINGSSCHEDULER'] = 'Mark old, planned meetings as Not Held';
$mod_strings['LBL_RUNQUESTIONDATE'] = 'Question Date';
?>

when i did quick repair scheduler pages don’t appear

What do you mean?

You need to go to schedulers:

Admin β†’ Schedulers β†’ New Schedular

You will see Question Date under the job.