обработчик устанавливает расписание cron задачи Подробнее...
Переменные | |
if(!($row=Wrong\Models\Crontabs::find($_POST['id']))) if(! $user->access() ->write($row)) | try |
catch(\Throwable $th) | $shedules = [] |
for($i=0; $i< 25; $i++) if(count($shedules) !=25) | $_POST ['run_at'] = $shedules[0] |
$sth = $dbh->prepare("UPDATE `crontabs` SET `shedule` = :shedule, `run_at` = :run_at WHERE `id` = :id") | |
обработчик устанавливает расписание cron задачи
См. определение в файле edit-shedule.php
for ( $i=0;$i< 25;$i++) if (count( $shedules) !=25) $_POST[ 'run_at'] = $shedules[0] |
См. определение в файле edit-shedule.php строка 39
catch (\Throwable $th) $shedules = [] |
См. определение в файле edit-shedule.php строка 30
$sth = $dbh->prepare("UPDATE `crontabs` SET `shedule` = :shedule, `run_at` = :run_at WHERE `id` = :id") |
См. определение в файле edit-shedule.php строка 41
if (!( $row=Wrong\Models\Crontabs::find( $_POST[ 'id']))) if (! $user->access() ->write( $row)) try |
См. определение в файле edit-shedule.php строка 24