[{"data":1,"prerenderedAt":1110},["Reactive",2],{"content-query-7wrqPOWJYU":3},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"head":10,"layout":12,"body":13,"_type":1105,"_id":1106,"_source":1107,"_file":1108,"_extension":1109},"/docs/laravel/laravel-task-scheduler","laravel",false,"","Laravel Task Scheduler with Docker","Learn how to configure a Laravel Task Scheduler with Docker.",{"title":11},"Laravel Task Scheduler with Docker - Docker PHP - Server Side Up","docs",{"type":14,"children":15,"toc":1100},"root",[16,24,30,37,95,101,125,131,136,344,349,1094],{"type":17,"tag":18,"props":19,"children":21},"element","h1",{"id":20},"laravel-task-scheduler-with-docker",[22],{"type":23,"value":8},"text",{"type":17,"tag":25,"props":26,"children":27},"p",{},[28],{"type":23,"value":29},"Running a Laravel task scheduler with Docker can be a little different from the traditional methods.",{"type":17,"tag":31,"props":32,"children":34},"h2",{"id":33},"important-concepts",[35],{"type":23,"value":36},"Important concepts",{"type":17,"tag":38,"props":39,"children":40},"ol",{},[41,64,77,82],{"type":17,"tag":42,"props":43,"children":44},"li",{},[45,47,53,55,62],{"type":23,"value":46},"We will ",{"type":17,"tag":48,"props":49,"children":50},"strong",{},[51],{"type":23,"value":52},"not",{"type":23,"value":54}," use ",{"type":17,"tag":56,"props":57,"children":59},"code",{"className":58},[],[60],{"type":23,"value":61},"cron",{"type":23,"value":63}," to run the scheduler",{"type":17,"tag":42,"props":65,"children":66},{},[67,69,75],{"type":23,"value":68},"By default ",{"type":17,"tag":56,"props":70,"children":72},{"className":71},[],[73],{"type":23,"value":74},"schedule:work",{"type":23,"value":76}," checks every minute, so we will use that to run the system process",{"type":17,"tag":42,"props":78,"children":79},{},[80],{"type":23,"value":81},"The actual time trigger itself is set within Laravel",{"type":17,"tag":42,"props":83,"children":84},{},[85,87,93],{"type":23,"value":86},"You can do cool things with ",{"type":17,"tag":56,"props":88,"children":90},{"className":89},[],[91],{"type":23,"value":92},"PHP_FPM_POOL_NAME",{"type":23,"value":94}," to separate the task from the main PHP pool. This is helpful when debugging or monitoring the task.",{"type":17,"tag":31,"props":96,"children":98},{"id":97},"more-detail",[99],{"type":23,"value":100},"More detail",{"type":17,"tag":25,"props":102,"children":103},{},[104,106,114,116,123],{"type":23,"value":105},"We need to run the ",{"type":17,"tag":107,"props":108,"children":112},"a",{"href":109,"rel":110},"https://laravel.com/docs/11.x/scheduling#running-the-scheduler-locally",[111],"nofollow",[113],{"type":23,"value":74},{"type":23,"value":115}," command from Laravel. Although the docs say \"Running the scheduler locally\", this is what we want in production. It will run the scheduler in the foreground and execute it every minute. You can configure your Laravel app for the exact time that a command should run through a ",{"type":17,"tag":107,"props":117,"children":120},{"href":118,"rel":119},"https://laravel.com/docs/11.x/scheduling#scheduling-artisan-commands",[111],[121],{"type":23,"value":122},"scheduled task",{"type":23,"value":124},".",{"type":17,"tag":31,"props":126,"children":128},{"id":127},"examples",[129],{"type":23,"value":130},"Examples",{"type":17,"tag":25,"props":132,"children":133},{},[134],{"type":23,"value":135},"Here is a simplified example of how you can achieve this with Docker Compose:",{"type":17,"tag":137,"props":138,"children":140},"code-panel",{"label":139},"Example & Simplified Docker Compose File",[141],{"type":17,"tag":142,"props":143,"children":147},"pre",{"className":144,"code":145,"language":146,"meta":7,"style":7},"language-yaml shiki shiki-themes github-dark github-dark monokai","services:\n  php:\n    image: my/laravel-app\n    environment:\n      PHP_FPM_POOL_NAME: \"my-app_php\"\n\n  task:\n    image: my/laravel-app\n    command: [\"php\", \"/var/www/html/artisan\", \"schedule:work\"]\n    environment:\n      PHP_FPM_POOL_NAME: \"my-app_task\"\n","yaml",[148],{"type":17,"tag":56,"props":149,"children":150},{"__ignoreMap":7},[151,169,182,202,215,233,243,256,272,315,327],{"type":17,"tag":152,"props":153,"children":156},"span",{"class":154,"line":155},"line",1,[157,163],{"type":17,"tag":152,"props":158,"children":160},{"style":159},"--shiki-default:#85E89D;--shiki-dark:#85E89D;--shiki-sepia:#F92672",[161],{"type":23,"value":162},"services",{"type":17,"tag":152,"props":164,"children":166},{"style":165},"--shiki-default:#E1E4E8;--shiki-dark:#E1E4E8;--shiki-sepia:#F8F8F2",[167],{"type":23,"value":168},":\n",{"type":17,"tag":152,"props":170,"children":172},{"class":154,"line":171},2,[173,178],{"type":17,"tag":152,"props":174,"children":175},{"style":159},[176],{"type":23,"value":177},"  php",{"type":17,"tag":152,"props":179,"children":180},{"style":165},[181],{"type":23,"value":168},{"type":17,"tag":152,"props":183,"children":185},{"class":154,"line":184},3,[186,191,196],{"type":17,"tag":152,"props":187,"children":188},{"style":159},[189],{"type":23,"value":190},"    image",{"type":17,"tag":152,"props":192,"children":193},{"style":165},[194],{"type":23,"value":195},": ",{"type":17,"tag":152,"props":197,"children":199},{"style":198},"--shiki-default:#9ECBFF;--shiki-dark:#9ECBFF;--shiki-sepia:#E6DB74",[200],{"type":23,"value":201},"my/laravel-app\n",{"type":17,"tag":152,"props":203,"children":205},{"class":154,"line":204},4,[206,211],{"type":17,"tag":152,"props":207,"children":208},{"style":159},[209],{"type":23,"value":210},"    environment",{"type":17,"tag":152,"props":212,"children":213},{"style":165},[214],{"type":23,"value":168},{"type":17,"tag":152,"props":216,"children":218},{"class":154,"line":217},5,[219,224,228],{"type":17,"tag":152,"props":220,"children":221},{"style":159},[222],{"type":23,"value":223},"      PHP_FPM_POOL_NAME",{"type":17,"tag":152,"props":225,"children":226},{"style":165},[227],{"type":23,"value":195},{"type":17,"tag":152,"props":229,"children":230},{"style":198},[231],{"type":23,"value":232},"\"my-app_php\"\n",{"type":17,"tag":152,"props":234,"children":236},{"class":154,"line":235},6,[237],{"type":17,"tag":152,"props":238,"children":240},{"emptyLinePlaceholder":239},true,[241],{"type":23,"value":242},"\n",{"type":17,"tag":152,"props":244,"children":246},{"class":154,"line":245},7,[247,252],{"type":17,"tag":152,"props":248,"children":249},{"style":159},[250],{"type":23,"value":251},"  task",{"type":17,"tag":152,"props":253,"children":254},{"style":165},[255],{"type":23,"value":168},{"type":17,"tag":152,"props":257,"children":259},{"class":154,"line":258},8,[260,264,268],{"type":17,"tag":152,"props":261,"children":262},{"style":159},[263],{"type":23,"value":190},{"type":17,"tag":152,"props":265,"children":266},{"style":165},[267],{"type":23,"value":195},{"type":17,"tag":152,"props":269,"children":270},{"style":198},[271],{"type":23,"value":201},{"type":17,"tag":152,"props":273,"children":275},{"class":154,"line":274},9,[276,281,286,291,296,301,305,310],{"type":17,"tag":152,"props":277,"children":278},{"style":159},[279],{"type":23,"value":280},"    command",{"type":17,"tag":152,"props":282,"children":283},{"style":165},[284],{"type":23,"value":285},": [",{"type":17,"tag":152,"props":287,"children":288},{"style":198},[289],{"type":23,"value":290},"\"php\"",{"type":17,"tag":152,"props":292,"children":293},{"style":165},[294],{"type":23,"value":295},", ",{"type":17,"tag":152,"props":297,"children":298},{"style":198},[299],{"type":23,"value":300},"\"/var/www/html/artisan\"",{"type":17,"tag":152,"props":302,"children":303},{"style":165},[304],{"type":23,"value":295},{"type":17,"tag":152,"props":306,"children":307},{"style":198},[308],{"type":23,"value":309},"\"schedule:work\"",{"type":17,"tag":152,"props":311,"children":312},{"style":165},[313],{"type":23,"value":314},"]\n",{"type":17,"tag":152,"props":316,"children":318},{"class":154,"line":317},10,[319,323],{"type":17,"tag":152,"props":320,"children":321},{"style":159},[322],{"type":23,"value":210},{"type":17,"tag":152,"props":324,"children":325},{"style":165},[326],{"type":23,"value":168},{"type":17,"tag":152,"props":328,"children":330},{"class":154,"line":329},11,[331,335,339],{"type":17,"tag":152,"props":332,"children":333},{"style":159},[334],{"type":23,"value":223},{"type":17,"tag":152,"props":336,"children":337},{"style":165},[338],{"type":23,"value":195},{"type":17,"tag":152,"props":340,"children":341},{"style":198},[342],{"type":23,"value":343},"\"my-app_task\"\n",{"type":17,"tag":25,"props":345,"children":346},{},[347],{"type":23,"value":348},"This is an example how we would set the actual execution time within Laravel itself:",{"type":17,"tag":137,"props":350,"children":352},{"label":351},"Example Laravel `Kernel.php`",[353],{"type":17,"tag":142,"props":354,"children":358},{"className":355,"code":356,"language":357,"meta":7,"style":7},"language-php shiki shiki-themes github-dark github-dark monokai","\u003C?php\n\nnamespace App\\Console;\n\nuse Illuminate\\Console\\Scheduling\\Schedule;\nuse Illuminate\\Foundation\\Console\\Kernel as ConsoleKernel;\n\nclass Kernel extends ConsoleKernel\n{\n    /**\n     * The Artisan commands provided by your application.\n     *\n     * @var array\n     */\n    protected $commands = [\n        //\n    ];\n\n    /**\n     * Define the application's command schedule.\n     *\n     * @param  \\Illuminate\\Console\\Scheduling\\Schedule  $schedule\n     * @return void\n     */\n    protected function schedule(Schedule $schedule)\n    {\n        $schedule->command('process:invoices')->daily()->at('02:00')->timezone('America/Chicago');\n        $schedule->command('process:latefees')->daily()->at('04:00')->timezone('America/Chicago');\n    }\n\n    /**\n     * Register the commands for the application.\n     *\n     * @return void\n     */\n    protected function commands()\n    {\n        $this->load(__DIR__.'/Commands');\n\n        require base_path('routes/console.php');\n    }\n}\n","php",[359],{"type":17,"tag":56,"props":360,"children":361},{"__ignoreMap":7},[362,377,384,403,410,434,466,473,498,506,515,523,532,551,560,584,593,602,610,618,627,635,663,681,689,722,731,823,905,914,922,930,939,947,963,971,993,1001,1042,1050,1077,1085],{"type":17,"tag":152,"props":363,"children":364},{"class":154,"line":155},[365,371],{"type":17,"tag":152,"props":366,"children":368},{"style":367},"--shiki-default:#F97583;--shiki-dark:#F97583;--shiki-sepia:#F92672",[369],{"type":23,"value":370},"\u003C?",{"type":17,"tag":152,"props":372,"children":374},{"style":373},"--shiki-default:#79B8FF;--shiki-dark:#79B8FF;--shiki-sepia:#AE81FF",[375],{"type":23,"value":376},"php\n",{"type":17,"tag":152,"props":378,"children":379},{"class":154,"line":171},[380],{"type":17,"tag":152,"props":381,"children":382},{"emptyLinePlaceholder":239},[383],{"type":23,"value":242},{"type":17,"tag":152,"props":385,"children":386},{"class":154,"line":184},[387,392,398],{"type":17,"tag":152,"props":388,"children":389},{"style":367},[390],{"type":23,"value":391},"namespace",{"type":17,"tag":152,"props":393,"children":395},{"style":394},"--shiki-default:#B392F0;--shiki-dark:#B392F0;--shiki-sepia:#A6E22E;--shiki-default-text-decoration:inherit;--shiki-dark-text-decoration:inherit;--shiki-sepia-text-decoration:underline",[396],{"type":23,"value":397}," App\\Console",{"type":17,"tag":152,"props":399,"children":400},{"style":165},[401],{"type":23,"value":402},";\n",{"type":17,"tag":152,"props":404,"children":405},{"class":154,"line":204},[406],{"type":17,"tag":152,"props":407,"children":408},{"emptyLinePlaceholder":239},[409],{"type":23,"value":242},{"type":17,"tag":152,"props":411,"children":412},{"class":154,"line":217},[413,418,424,430],{"type":17,"tag":152,"props":414,"children":415},{"style":367},[416],{"type":23,"value":417},"use",{"type":17,"tag":152,"props":419,"children":421},{"style":420},"--shiki-default:#79B8FF;--shiki-dark:#79B8FF;--shiki-sepia:#F8F8F2",[422],{"type":23,"value":423}," Illuminate\\Console\\Scheduling\\",{"type":17,"tag":152,"props":425,"children":427},{"style":426},"--shiki-default:#79B8FF;--shiki-dark:#79B8FF;--shiki-sepia:#66D9EF;--shiki-default-font-style:inherit;--shiki-dark-font-style:inherit;--shiki-sepia-font-style:italic",[428],{"type":23,"value":429},"Schedule",{"type":17,"tag":152,"props":431,"children":432},{"style":165},[433],{"type":23,"value":402},{"type":17,"tag":152,"props":435,"children":436},{"class":154,"line":235},[437,441,446,451,456,462],{"type":17,"tag":152,"props":438,"children":439},{"style":367},[440],{"type":23,"value":417},{"type":17,"tag":152,"props":442,"children":443},{"style":420},[444],{"type":23,"value":445}," Illuminate\\Foundation\\Console\\",{"type":17,"tag":152,"props":447,"children":448},{"style":426},[449],{"type":23,"value":450},"Kernel",{"type":17,"tag":152,"props":452,"children":453},{"style":367},[454],{"type":23,"value":455}," as",{"type":17,"tag":152,"props":457,"children":459},{"style":458},"--shiki-default:#B392F0;--shiki-dark:#B392F0;--shiki-sepia:#F8F8F2",[460],{"type":23,"value":461}," ConsoleKernel",{"type":17,"tag":152,"props":463,"children":464},{"style":165},[465],{"type":23,"value":402},{"type":17,"tag":152,"props":467,"children":468},{"class":154,"line":245},[469],{"type":17,"tag":152,"props":470,"children":471},{"emptyLinePlaceholder":239},[472],{"type":23,"value":242},{"type":17,"tag":152,"props":474,"children":475},{"class":154,"line":258},[476,482,487,492],{"type":17,"tag":152,"props":477,"children":479},{"style":478},"--shiki-default:#F97583;--shiki-dark:#F97583;--shiki-sepia:#66D9EF;--shiki-default-font-style:inherit;--shiki-dark-font-style:inherit;--shiki-sepia-font-style:italic",[480],{"type":23,"value":481},"class",{"type":17,"tag":152,"props":483,"children":484},{"style":394},[485],{"type":23,"value":486}," Kernel",{"type":17,"tag":152,"props":488,"children":489},{"style":367},[490],{"type":23,"value":491}," extends",{"type":17,"tag":152,"props":493,"children":495},{"style":494},"--shiki-default:#B392F0;--shiki-dark:#B392F0;--shiki-sepia:#A6E22E;--shiki-default-font-style:inherit;--shiki-dark-font-style:inherit;--shiki-sepia-font-style:italic;--shiki-default-text-decoration:inherit;--shiki-dark-text-decoration:inherit;--shiki-sepia-text-decoration:underline",[496],{"type":23,"value":497}," ConsoleKernel\n",{"type":17,"tag":152,"props":499,"children":500},{"class":154,"line":274},[501],{"type":17,"tag":152,"props":502,"children":503},{"style":165},[504],{"type":23,"value":505},"{\n",{"type":17,"tag":152,"props":507,"children":508},{"class":154,"line":317},[509],{"type":17,"tag":152,"props":510,"children":512},{"style":511},"--shiki-default:#6A737D;--shiki-dark:#6A737D;--shiki-sepia:#88846F",[513],{"type":23,"value":514},"    /**\n",{"type":17,"tag":152,"props":516,"children":517},{"class":154,"line":329},[518],{"type":17,"tag":152,"props":519,"children":520},{"style":511},[521],{"type":23,"value":522},"     * The Artisan commands provided by your application.\n",{"type":17,"tag":152,"props":524,"children":526},{"class":154,"line":525},12,[527],{"type":17,"tag":152,"props":528,"children":529},{"style":511},[530],{"type":23,"value":531},"     *\n",{"type":17,"tag":152,"props":533,"children":535},{"class":154,"line":534},13,[536,541,546],{"type":17,"tag":152,"props":537,"children":538},{"style":511},[539],{"type":23,"value":540},"     * ",{"type":17,"tag":152,"props":542,"children":543},{"style":367},[544],{"type":23,"value":545},"@var",{"type":17,"tag":152,"props":547,"children":548},{"style":367},[549],{"type":23,"value":550}," array\n",{"type":17,"tag":152,"props":552,"children":554},{"class":154,"line":553},14,[555],{"type":17,"tag":152,"props":556,"children":557},{"style":511},[558],{"type":23,"value":559},"     */\n",{"type":17,"tag":152,"props":561,"children":563},{"class":154,"line":562},15,[564,569,574,579],{"type":17,"tag":152,"props":565,"children":566},{"style":367},[567],{"type":23,"value":568},"    protected",{"type":17,"tag":152,"props":570,"children":571},{"style":165},[572],{"type":23,"value":573}," $commands ",{"type":17,"tag":152,"props":575,"children":576},{"style":367},[577],{"type":23,"value":578},"=",{"type":17,"tag":152,"props":580,"children":581},{"style":165},[582],{"type":23,"value":583}," [\n",{"type":17,"tag":152,"props":585,"children":587},{"class":154,"line":586},16,[588],{"type":17,"tag":152,"props":589,"children":590},{"style":511},[591],{"type":23,"value":592},"        //\n",{"type":17,"tag":152,"props":594,"children":596},{"class":154,"line":595},17,[597],{"type":17,"tag":152,"props":598,"children":599},{"style":165},[600],{"type":23,"value":601},"    ];\n",{"type":17,"tag":152,"props":603,"children":605},{"class":154,"line":604},18,[606],{"type":17,"tag":152,"props":607,"children":608},{"emptyLinePlaceholder":239},[609],{"type":23,"value":242},{"type":17,"tag":152,"props":611,"children":613},{"class":154,"line":612},19,[614],{"type":17,"tag":152,"props":615,"children":616},{"style":511},[617],{"type":23,"value":514},{"type":17,"tag":152,"props":619,"children":621},{"class":154,"line":620},20,[622],{"type":17,"tag":152,"props":623,"children":624},{"style":511},[625],{"type":23,"value":626},"     * Define the application's command schedule.\n",{"type":17,"tag":152,"props":628,"children":630},{"class":154,"line":629},21,[631],{"type":17,"tag":152,"props":632,"children":633},{"style":511},[634],{"type":23,"value":531},{"type":17,"tag":152,"props":636,"children":638},{"class":154,"line":637},22,[639,643,648,654,658],{"type":17,"tag":152,"props":640,"children":641},{"style":511},[642],{"type":23,"value":540},{"type":17,"tag":152,"props":644,"children":645},{"style":367},[646],{"type":23,"value":647},"@param",{"type":17,"tag":152,"props":649,"children":651},{"style":650},"--shiki-default:#79B8FF;--shiki-dark:#79B8FF;--shiki-sepia:#88846F",[652],{"type":23,"value":653},"  \\Illuminate\\Console\\Scheduling\\",{"type":17,"tag":152,"props":655,"children":656},{"style":426},[657],{"type":23,"value":429},{"type":17,"tag":152,"props":659,"children":660},{"style":511},[661],{"type":23,"value":662},"  $schedule\n",{"type":17,"tag":152,"props":664,"children":666},{"class":154,"line":665},23,[667,671,676],{"type":17,"tag":152,"props":668,"children":669},{"style":511},[670],{"type":23,"value":540},{"type":17,"tag":152,"props":672,"children":673},{"style":367},[674],{"type":23,"value":675},"@return",{"type":17,"tag":152,"props":677,"children":678},{"style":367},[679],{"type":23,"value":680}," void\n",{"type":17,"tag":152,"props":682,"children":684},{"class":154,"line":683},24,[685],{"type":17,"tag":152,"props":686,"children":687},{"style":511},[688],{"type":23,"value":559},{"type":17,"tag":152,"props":690,"children":692},{"class":154,"line":691},25,[693,697,702,708,713,717],{"type":17,"tag":152,"props":694,"children":695},{"style":367},[696],{"type":23,"value":568},{"type":17,"tag":152,"props":698,"children":699},{"style":478},[700],{"type":23,"value":701}," function",{"type":17,"tag":152,"props":703,"children":705},{"style":704},"--shiki-default:#B392F0;--shiki-dark:#B392F0;--shiki-sepia:#A6E22E",[706],{"type":23,"value":707}," schedule",{"type":17,"tag":152,"props":709,"children":710},{"style":165},[711],{"type":23,"value":712},"(",{"type":17,"tag":152,"props":714,"children":715},{"style":426},[716],{"type":23,"value":429},{"type":17,"tag":152,"props":718,"children":719},{"style":165},[720],{"type":23,"value":721}," $schedule)\n",{"type":17,"tag":152,"props":723,"children":725},{"class":154,"line":724},26,[726],{"type":17,"tag":152,"props":727,"children":728},{"style":165},[729],{"type":23,"value":730},"    {\n",{"type":17,"tag":152,"props":732,"children":734},{"class":154,"line":733},27,[735,740,745,750,754,759,764,768,773,778,782,787,791,796,800,804,809,813,818],{"type":17,"tag":152,"props":736,"children":737},{"style":165},[738],{"type":23,"value":739},"        $schedule",{"type":17,"tag":152,"props":741,"children":742},{"style":367},[743],{"type":23,"value":744},"->",{"type":17,"tag":152,"props":746,"children":747},{"style":704},[748],{"type":23,"value":749},"command",{"type":17,"tag":152,"props":751,"children":752},{"style":165},[753],{"type":23,"value":712},{"type":17,"tag":152,"props":755,"children":756},{"style":198},[757],{"type":23,"value":758},"'process:invoices'",{"type":17,"tag":152,"props":760,"children":761},{"style":165},[762],{"type":23,"value":763},")",{"type":17,"tag":152,"props":765,"children":766},{"style":367},[767],{"type":23,"value":744},{"type":17,"tag":152,"props":769,"children":770},{"style":704},[771],{"type":23,"value":772},"daily",{"type":17,"tag":152,"props":774,"children":775},{"style":165},[776],{"type":23,"value":777},"()",{"type":17,"tag":152,"props":779,"children":780},{"style":367},[781],{"type":23,"value":744},{"type":17,"tag":152,"props":783,"children":784},{"style":704},[785],{"type":23,"value":786},"at",{"type":17,"tag":152,"props":788,"children":789},{"style":165},[790],{"type":23,"value":712},{"type":17,"tag":152,"props":792,"children":793},{"style":198},[794],{"type":23,"value":795},"'02:00'",{"type":17,"tag":152,"props":797,"children":798},{"style":165},[799],{"type":23,"value":763},{"type":17,"tag":152,"props":801,"children":802},{"style":367},[803],{"type":23,"value":744},{"type":17,"tag":152,"props":805,"children":806},{"style":704},[807],{"type":23,"value":808},"timezone",{"type":17,"tag":152,"props":810,"children":811},{"style":165},[812],{"type":23,"value":712},{"type":17,"tag":152,"props":814,"children":815},{"style":198},[816],{"type":23,"value":817},"'America/Chicago'",{"type":17,"tag":152,"props":819,"children":820},{"style":165},[821],{"type":23,"value":822},");\n",{"type":17,"tag":152,"props":824,"children":826},{"class":154,"line":825},28,[827,831,835,839,843,848,852,856,860,864,868,872,876,881,885,889,893,897,901],{"type":17,"tag":152,"props":828,"children":829},{"style":165},[830],{"type":23,"value":739},{"type":17,"tag":152,"props":832,"children":833},{"style":367},[834],{"type":23,"value":744},{"type":17,"tag":152,"props":836,"children":837},{"style":704},[838],{"type":23,"value":749},{"type":17,"tag":152,"props":840,"children":841},{"style":165},[842],{"type":23,"value":712},{"type":17,"tag":152,"props":844,"children":845},{"style":198},[846],{"type":23,"value":847},"'process:latefees'",{"type":17,"tag":152,"props":849,"children":850},{"style":165},[851],{"type":23,"value":763},{"type":17,"tag":152,"props":853,"children":854},{"style":367},[855],{"type":23,"value":744},{"type":17,"tag":152,"props":857,"children":858},{"style":704},[859],{"type":23,"value":772},{"type":17,"tag":152,"props":861,"children":862},{"style":165},[863],{"type":23,"value":777},{"type":17,"tag":152,"props":865,"children":866},{"style":367},[867],{"type":23,"value":744},{"type":17,"tag":152,"props":869,"children":870},{"style":704},[871],{"type":23,"value":786},{"type":17,"tag":152,"props":873,"children":874},{"style":165},[875],{"type":23,"value":712},{"type":17,"tag":152,"props":877,"children":878},{"style":198},[879],{"type":23,"value":880},"'04:00'",{"type":17,"tag":152,"props":882,"children":883},{"style":165},[884],{"type":23,"value":763},{"type":17,"tag":152,"props":886,"children":887},{"style":367},[888],{"type":23,"value":744},{"type":17,"tag":152,"props":890,"children":891},{"style":704},[892],{"type":23,"value":808},{"type":17,"tag":152,"props":894,"children":895},{"style":165},[896],{"type":23,"value":712},{"type":17,"tag":152,"props":898,"children":899},{"style":198},[900],{"type":23,"value":817},{"type":17,"tag":152,"props":902,"children":903},{"style":165},[904],{"type":23,"value":822},{"type":17,"tag":152,"props":906,"children":908},{"class":154,"line":907},29,[909],{"type":17,"tag":152,"props":910,"children":911},{"style":165},[912],{"type":23,"value":913},"    }\n",{"type":17,"tag":152,"props":915,"children":917},{"class":154,"line":916},30,[918],{"type":17,"tag":152,"props":919,"children":920},{"emptyLinePlaceholder":239},[921],{"type":23,"value":242},{"type":17,"tag":152,"props":923,"children":925},{"class":154,"line":924},31,[926],{"type":17,"tag":152,"props":927,"children":928},{"style":511},[929],{"type":23,"value":514},{"type":17,"tag":152,"props":931,"children":933},{"class":154,"line":932},32,[934],{"type":17,"tag":152,"props":935,"children":936},{"style":511},[937],{"type":23,"value":938},"     * Register the commands for the application.\n",{"type":17,"tag":152,"props":940,"children":942},{"class":154,"line":941},33,[943],{"type":17,"tag":152,"props":944,"children":945},{"style":511},[946],{"type":23,"value":531},{"type":17,"tag":152,"props":948,"children":950},{"class":154,"line":949},34,[951,955,959],{"type":17,"tag":152,"props":952,"children":953},{"style":511},[954],{"type":23,"value":540},{"type":17,"tag":152,"props":956,"children":957},{"style":367},[958],{"type":23,"value":675},{"type":17,"tag":152,"props":960,"children":961},{"style":367},[962],{"type":23,"value":680},{"type":17,"tag":152,"props":964,"children":966},{"class":154,"line":965},35,[967],{"type":17,"tag":152,"props":968,"children":969},{"style":511},[970],{"type":23,"value":559},{"type":17,"tag":152,"props":972,"children":974},{"class":154,"line":973},36,[975,979,983,988],{"type":17,"tag":152,"props":976,"children":977},{"style":367},[978],{"type":23,"value":568},{"type":17,"tag":152,"props":980,"children":981},{"style":478},[982],{"type":23,"value":701},{"type":17,"tag":152,"props":984,"children":985},{"style":704},[986],{"type":23,"value":987}," commands",{"type":17,"tag":152,"props":989,"children":990},{"style":165},[991],{"type":23,"value":992},"()\n",{"type":17,"tag":152,"props":994,"children":996},{"class":154,"line":995},37,[997],{"type":17,"tag":152,"props":998,"children":999},{"style":165},[1000],{"type":23,"value":730},{"type":17,"tag":152,"props":1002,"children":1004},{"class":154,"line":1003},38,[1005,1011,1015,1020,1024,1029,1033,1038],{"type":17,"tag":152,"props":1006,"children":1008},{"style":1007},"--shiki-default:#79B8FF;--shiki-dark:#79B8FF;--shiki-sepia:#FD971F",[1009],{"type":23,"value":1010},"        $this",{"type":17,"tag":152,"props":1012,"children":1013},{"style":367},[1014],{"type":23,"value":744},{"type":17,"tag":152,"props":1016,"children":1017},{"style":704},[1018],{"type":23,"value":1019},"load",{"type":17,"tag":152,"props":1021,"children":1022},{"style":165},[1023],{"type":23,"value":712},{"type":17,"tag":152,"props":1025,"children":1026},{"style":373},[1027],{"type":23,"value":1028},"__DIR__",{"type":17,"tag":152,"props":1030,"children":1031},{"style":367},[1032],{"type":23,"value":124},{"type":17,"tag":152,"props":1034,"children":1035},{"style":198},[1036],{"type":23,"value":1037},"'/Commands'",{"type":17,"tag":152,"props":1039,"children":1040},{"style":165},[1041],{"type":23,"value":822},{"type":17,"tag":152,"props":1043,"children":1045},{"class":154,"line":1044},39,[1046],{"type":17,"tag":152,"props":1047,"children":1048},{"emptyLinePlaceholder":239},[1049],{"type":23,"value":242},{"type":17,"tag":152,"props":1051,"children":1053},{"class":154,"line":1052},40,[1054,1059,1064,1068,1073],{"type":17,"tag":152,"props":1055,"children":1056},{"style":367},[1057],{"type":23,"value":1058},"        require",{"type":17,"tag":152,"props":1060,"children":1061},{"style":704},[1062],{"type":23,"value":1063}," base_path",{"type":17,"tag":152,"props":1065,"children":1066},{"style":165},[1067],{"type":23,"value":712},{"type":17,"tag":152,"props":1069,"children":1070},{"style":198},[1071],{"type":23,"value":1072},"'routes/console.php'",{"type":17,"tag":152,"props":1074,"children":1075},{"style":165},[1076],{"type":23,"value":822},{"type":17,"tag":152,"props":1078,"children":1080},{"class":154,"line":1079},41,[1081],{"type":17,"tag":152,"props":1082,"children":1083},{"style":165},[1084],{"type":23,"value":913},{"type":17,"tag":152,"props":1086,"children":1088},{"class":154,"line":1087},42,[1089],{"type":17,"tag":152,"props":1090,"children":1091},{"style":165},[1092],{"type":23,"value":1093},"}\n",{"type":17,"tag":1095,"props":1096,"children":1097},"style",{},[1098],{"type":23,"value":1099},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .sepia .shiki span {color: var(--shiki-sepia);background: var(--shiki-sepia-bg);font-style: var(--shiki-sepia-font-style);font-weight: var(--shiki-sepia-font-weight);text-decoration: var(--shiki-sepia-text-decoration);}html.sepia .shiki span {color: var(--shiki-sepia);background: var(--shiki-sepia-bg);font-style: var(--shiki-sepia-font-style);font-weight: var(--shiki-sepia-font-weight);text-decoration: var(--shiki-sepia-text-decoration);}",{"title":7,"searchDepth":171,"depth":171,"links":1101},[1102,1103,1104],{"id":33,"depth":171,"text":36},{"id":97,"depth":171,"text":100},{"id":127,"depth":171,"text":130},"markdown","content:docs:4.laravel:2.laravel-task-scheduler.md","content","docs/4.laravel/2.laravel-task-scheduler.md","md",1727367946674]