[{"data":1,"prerenderedAt":1114},["ShallowReactive",2],{"navigation":3,"/docs/framework-guides/laravel/task-scheduler":221,"/docs/framework-guides/laravel/task-scheduler-surround":1109},[4],{"title":5,"path":6,"stem":7,"children":8},"Docs","/docs","docs",[9,12,56,85,132,153,178,195,208],{"title":10,"path":6,"stem":11},"","docs/index",{"title":13,"path":14,"stem":15,"children":16,"icon":55},"Getting Started","/docs/getting-started","docs/1.getting-started/1.index",[17,19,23,27,31,35,39,43,47,51],{"title":18,"path":14,"stem":15},"Introduction",{"title":20,"path":21,"stem":22},"Container Basics","/docs/getting-started/container-basics","docs/1.getting-started/2.container-basics",{"title":24,"path":25,"stem":26},"Installation","/docs/getting-started/installation","docs/1.getting-started/3.installation",{"title":28,"path":29,"stem":30},"These Images vs Others","/docs/getting-started/these-images-vs-others","docs/1.getting-started/4.these-images-vs-others",{"title":32,"path":33,"stem":34},"Choosing an Image","/docs/getting-started/choosing-an-image","docs/1.getting-started/5.choosing-an-image",{"title":36,"path":37,"stem":38},"Default Configurations","/docs/getting-started/default-configurations","docs/1.getting-started/6.default-configurations",{"title":40,"path":41,"stem":42},"Upgrade Guide","/docs/getting-started/upgrade-guide","docs/1.getting-started/7.upgrade-guide",{"title":44,"path":45,"stem":46},"Changelog","/docs/getting-started/changelog","docs/1.getting-started/8.changelog",{"title":48,"path":49,"stem":50},"About","/docs/getting-started/about","docs/1.getting-started/9.about",{"title":52,"path":53,"stem":54},"Contributing","/docs/getting-started/contributing","docs/1.getting-started/99.contributing",false,{"title":57,"path":58,"stem":59,"children":60,"page":55},"Image Variations","/docs/image-variations","docs/2.image-variations",[61,65,69,73,77,81],{"title":62,"path":63,"stem":64},"CLI","/docs/image-variations/cli","docs/2.image-variations/cli",{"title":66,"path":67,"stem":68},"FPM","/docs/image-variations/fpm","docs/2.image-variations/fpm",{"title":70,"path":71,"stem":72},"FPM-Apache","/docs/image-variations/fpm-apache","docs/2.image-variations/fpm-apache",{"title":74,"path":75,"stem":76},"FPM-NGINX","/docs/image-variations/fpm-nginx","docs/2.image-variations/fpm-nginx",{"title":78,"path":79,"stem":80},"FrankenPHP","/docs/image-variations/frankenphp","docs/2.image-variations/frankenphp",{"title":82,"path":83,"stem":84},"Unit (Deprecated)","/docs/image-variations/unit","docs/2.image-variations/unit",{"title":86,"path":87,"stem":88,"children":89,"page":55},"Framework Guides","/docs/framework-guides","docs/3.framework-guides",[90,123],{"title":91,"icon":55,"defaultOpen":55,"path":92,"stem":93,"children":94,"page":55},"Laravel","/docs/framework-guides/laravel","docs/3.framework-guides/1.laravel",[95,99,103,107,111,115,119],{"title":96,"path":97,"stem":98},"Automations","/docs/framework-guides/laravel/automations","docs/3.framework-guides/1.laravel/1.automations",{"title":100,"path":101,"stem":102},"Task Scheduler","/docs/framework-guides/laravel/task-scheduler","docs/3.framework-guides/1.laravel/2.task-scheduler",{"title":104,"path":105,"stem":106},"Queue","/docs/framework-guides/laravel/queue","docs/3.framework-guides/1.laravel/3.queue",{"title":108,"path":109,"stem":110},"Horizon","/docs/framework-guides/laravel/horizon","docs/3.framework-guides/1.laravel/4.horizon",{"title":112,"path":113,"stem":114},"Reverb","/docs/framework-guides/laravel/reverb","docs/3.framework-guides/1.laravel/4.reverb",{"title":116,"path":117,"stem":118},"Nightwatch","/docs/framework-guides/laravel/nightwatch","docs/3.framework-guides/1.laravel/5.nightwatch",{"title":120,"path":121,"stem":122},"Octane","/docs/framework-guides/laravel/octane","docs/3.framework-guides/1.laravel/octane",{"title":124,"icon":55,"defaultOpen":55,"path":125,"stem":126,"children":127,"page":55},"WordPress","/docs/framework-guides/wordpress","docs/3.framework-guides/2.wordpress",[128],{"title":129,"path":130,"stem":131},"Using Docker with WordPress","/docs/framework-guides/wordpress/using-wordpress-with-docker","docs/3.framework-guides/2.wordpress/4.using-wordpress-with-docker",{"title":133,"path":134,"stem":135,"children":136,"page":55},"Deployment And Production","/docs/deployment-and-production","docs/4.deployment-and-production",[137,141,145,149],{"title":138,"path":139,"stem":140},"Development to Production","/docs/deployment-and-production/development-to-production","docs/4.deployment-and-production/2.development-to-production",{"title":142,"path":143,"stem":144},"Packaging Your App for Deployment","/docs/deployment-and-production/packaging-your-app-for-deployment","docs/4.deployment-and-production/3.packaging-your-app-for-deployment",{"title":146,"path":147,"stem":148},"Configuring SSL","/docs/deployment-and-production/configuring-ssl","docs/4.deployment-and-production/4.configuring-ssl",{"title":150,"path":151,"stem":152},"Choosing a Host","/docs/deployment-and-production/choosing-a-host","docs/4.deployment-and-production/5.choosing-a-host",{"title":154,"icon":55,"defaultOpen":55,"path":155,"stem":156,"children":157,"page":55},"Advanced Guides","/docs/guide","docs/5.guide",[158,162,166,170,174],{"title":159,"path":160,"stem":161},"Migrating from official PHP images","/docs/guide/migrating-from-official-php-images","docs/5.guide/1.migrating-from-official-php-images",{"title":163,"path":164,"stem":165},"Using Healthchecks With Laravel","/docs/guide/using-healthchecks-with-laravel","docs/5.guide/2.using-healthchecks-with-laravel",{"title":167,"path":168,"stem":169},"Using S6 Overlay","/docs/guide/using-s6-overlay","docs/5.guide/2.using-s6-overlay",{"title":171,"path":172,"stem":173},"Understanding File Permissions","/docs/guide/understanding-file-permissions","docs/5.guide/3.understanding-file-permissions",{"title":175,"path":176,"stem":177},"Configuring Trusted Proxies","/docs/guide/configuring-trusted-proxies","docs/5.guide/4.configuring-trusted-proxies",{"title":179,"icon":55,"defaultOpen":55,"path":180,"stem":181,"children":182,"page":55},"Customization","/docs/customizing-the-image","docs/6.customizing-the-image",[183,187,191],{"title":184,"path":185,"stem":186},"Changing php.ini settings","/docs/customizing-the-image/changing-common-php-settings","docs/6.customizing-the-image/1.changing-common-php-settings",{"title":188,"path":189,"stem":190},"Installing PHP extensions","/docs/customizing-the-image/installing-additional-php-extensions","docs/6.customizing-the-image/2.installing-additional-php-extensions",{"title":192,"path":193,"stem":194},"Adding Start Up Scripts","/docs/customizing-the-image/adding-your-own-start-up-scripts","docs/6.customizing-the-image/3.adding-your-own-start-up-scripts",{"title":196,"path":197,"stem":198,"children":199,"page":55},"Troubleshooting","/docs/troubleshooting","docs/7.troubleshooting",[200,204],{"title":201,"path":202,"stem":203},"Common Issues","/docs/troubleshooting/common-issues","docs/7.troubleshooting/1.common-issues",{"title":205,"path":206,"stem":207},"Getting Help","/docs/troubleshooting/getting-help","docs/7.troubleshooting/2.getting-help",{"title":209,"path":210,"stem":211,"children":212,"page":55},"Reference","/docs/reference","docs/8.reference",[213,217],{"title":214,"path":215,"stem":216},"Environment Variable Specification","/docs/reference/environment-variable-specification","docs/8.reference/1.environment-variable-specification",{"title":218,"path":219,"stem":220},"Command Reference","/docs/reference/command-reference","docs/8.reference/2.command-reference",{"id":222,"title":100,"body":223,"description":1101,"extension":1102,"links":1103,"meta":1104,"navigation":373,"path":101,"redirect":1103,"seo":1107,"stem":102,"__hash__":1108},"docs/docs/3.framework-guides/1.laravel/2.task-scheduler.md",{"type":224,"value":225,"toc":1095},"minimark",[226,231,240,255,259,280,284,291,297,325,466,470,473,1068,1091],[227,228,230],"h2",{"id":229},"laravel-task-scheduler-with-docker","Laravel Task Scheduler with Docker",[232,233,234,235,239],"p",{},"Run Laravel's task scheduler by using the ",[236,237,238],"code",{},"schedule:work"," command. This runs the scheduler in the foreground and checks for scheduled tasks every minute—perfect for containers.",[241,242,245],"tip",{"target":243,"to":244},"_blank","https://getspin.pro/docs/services/laravel-scheduler",[232,246,247,248,254],{},"Want to skip the setup? ",[249,250,253],"a",{"href":244,"rel":251,"target":243},[252],"nofollow","Spin Pro"," handles Laravel schedulers on your VPS with Docker and zero-downtime deployments—all configured for you.",[227,256,258],{"id":257},"why-not-use-cron","Why not use cron?",[260,261,262],"note",{},[232,263,264,265,268,269,273,274,279],{},"Unlike traditional server setups, we don't use ",[236,266,267],{},"cron"," in containers. Instead, Laravel's ",[249,270,238],{"href":271,"rel":272,"target":243},"https://laravel.com/docs/12.x/scheduling#running-the-scheduler-locally",[252]," command keeps the process running in the foreground and checks for tasks every minute. You define the actual schedule (daily, hourly, etc.) in your Laravel application using ",[249,275,278],{"href":276,"rel":277,"target":243},"https://laravel.com/docs/12.x/scheduling#scheduling-artisan-commands",[252],"scheduled tasks",".",[227,281,283],{"id":282},"docker-compose-example","Docker Compose example",[232,285,286,287,290],{},"This example runs a dedicated scheduler container using the same image as your web service. Use the full path to Artisan (",[236,288,289],{},"/var/www/html/artisan",") when defining the container command.",[232,292,293],{},[294,295,296],"strong",{},"Key points:",[298,299,300,304,319,322],"ul",{},[301,302,303],"li",{},"Use the same image for both your web and scheduler services",[301,305,306,307,310,311,314,315,318],{},"Set ",[236,308,309],{},"SIGTERM"," as the stop signal for graceful shutdown (especially for ",[236,312,313],{},"fpm-apache"," and ",[236,316,317],{},"fpm-nginx",")",[301,320,321],{},"Include a health check to monitor scheduler status",[301,323,324],{},"Define your actual schedule times in Laravel, not in Docker",[326,327,332],"pre",{"className":328,"code":329,"filename":330,"language":331,"meta":10,"style":10},"language-yml shiki shiki-themes github-dark","services:\n  php:\n    image: my/laravel-app\n\n  task:\n    image: my/laravel-app\n    command: [\"php\", \"/var/www/html/artisan\", \"schedule:work\"]\n    stop_signal: SIGTERM\n    healthcheck:\n      test: [\"CMD\", \"healthcheck-schedule\"]\n      start_period: 10s\n","compose.yml","yml",[236,333,334,347,355,368,375,383,392,418,429,437,455],{"__ignoreMap":10},[335,336,339,343],"span",{"class":337,"line":338},"line",1,[335,340,342],{"class":341},"s4JwU","services",[335,344,346],{"class":345},"s95oV",":\n",[335,348,350,353],{"class":337,"line":349},2,[335,351,352],{"class":341},"  php",[335,354,346],{"class":345},[335,356,358,361,364],{"class":337,"line":357},3,[335,359,360],{"class":341},"    image",[335,362,363],{"class":345},": ",[335,365,367],{"class":366},"sU2Wk","my/laravel-app\n",[335,369,371],{"class":337,"line":370},4,[335,372,374],{"emptyLinePlaceholder":373},true,"\n",[335,376,378,381],{"class":337,"line":377},5,[335,379,380],{"class":341},"  task",[335,382,346],{"class":345},[335,384,386,388,390],{"class":337,"line":385},6,[335,387,360],{"class":341},[335,389,363],{"class":345},[335,391,367],{"class":366},[335,393,395,398,401,404,407,410,412,415],{"class":337,"line":394},7,[335,396,397],{"class":341},"    command",[335,399,400],{"class":345},": [",[335,402,403],{"class":366},"\"php\"",[335,405,406],{"class":345},", ",[335,408,409],{"class":366},"\"/var/www/html/artisan\"",[335,411,406],{"class":345},[335,413,414],{"class":366},"\"schedule:work\"",[335,416,417],{"class":345},"]\n",[335,419,421,424,426],{"class":337,"line":420},8,[335,422,423],{"class":341},"    stop_signal",[335,425,363],{"class":345},[335,427,428],{"class":366},"SIGTERM\n",[335,430,432,435],{"class":337,"line":431},9,[335,433,434],{"class":341},"    healthcheck",[335,436,346],{"class":345},[335,438,440,443,445,448,450,453],{"class":337,"line":439},10,[335,441,442],{"class":341},"      test",[335,444,400],{"class":345},[335,446,447],{"class":366},"\"CMD\"",[335,449,406],{"class":345},[335,451,452],{"class":366},"\"healthcheck-schedule\"",[335,454,417],{"class":345},[335,456,458,461,463],{"class":337,"line":457},11,[335,459,460],{"class":341},"      start_period",[335,462,363],{"class":345},[335,464,465],{"class":366},"10s\n",[227,467,469],{"id":468},"defining-your-schedule-in-laravel","Defining your schedule in Laravel",[232,471,472],{},"Configure your scheduled tasks in Laravel. The file location depends on your Laravel version:",[474,475,476,652],"tabs",{},[477,478,480],"tabs-item",{"label":479},"Laravel 11+",[326,481,486],{"className":482,"code":483,"filename":484,"language":485,"meta":10,"style":10},"language-php shiki shiki-themes github-dark","\u003C?php\n \nuse Illuminate\\Support\\Facades\\Schedule;\n \nSchedule::command('app:process-invoices')\n    ->daily() // Run this task once per day\n    ->at('02:00') // At 2:00 AM\n    ->timezone('America/Chicago'); // In the Chicago timezone\n    \nSchedule::command('app:process-latefees')\n    ->daily() // Run this task once per day\n    ->at('04:00') // At 4:00 AM\n    ->timezone('America/Chicago'); // In the Chicago timezone\n","routes/console.php","php",[236,487,488,498,503,514,518,539,554,572,590,595,610,620,637],{"__ignoreMap":10},[335,489,490,494],{"class":337,"line":338},[335,491,493],{"class":492},"snl16","\u003C?",[335,495,497],{"class":496},"sDLfK","php\n",[335,499,500],{"class":337,"line":349},[335,501,502],{"class":345}," \n",[335,504,505,508,511],{"class":337,"line":357},[335,506,507],{"class":492},"use",[335,509,510],{"class":496}," Illuminate\\Support\\Facades\\Schedule",[335,512,513],{"class":345},";\n",[335,515,516],{"class":337,"line":370},[335,517,502],{"class":345},[335,519,520,523,526,530,533,536],{"class":337,"line":377},[335,521,522],{"class":496},"Schedule",[335,524,525],{"class":492},"::",[335,527,529],{"class":528},"svObZ","command",[335,531,532],{"class":345},"(",[335,534,535],{"class":366},"'app:process-invoices'",[335,537,538],{"class":345},")\n",[335,540,541,544,547,550],{"class":337,"line":385},[335,542,543],{"class":492},"    ->",[335,545,546],{"class":528},"daily",[335,548,549],{"class":345},"() ",[335,551,553],{"class":552},"sAwPA","// Run this task once per day\n",[335,555,556,558,561,563,566,569],{"class":337,"line":394},[335,557,543],{"class":492},[335,559,560],{"class":528},"at",[335,562,532],{"class":345},[335,564,565],{"class":366},"'02:00'",[335,567,568],{"class":345},") ",[335,570,571],{"class":552},"// At 2:00 AM\n",[335,573,574,576,579,581,584,587],{"class":337,"line":420},[335,575,543],{"class":492},[335,577,578],{"class":528},"timezone",[335,580,532],{"class":345},[335,582,583],{"class":366},"'America/Chicago'",[335,585,586],{"class":345},"); ",[335,588,589],{"class":552},"// In the Chicago timezone\n",[335,591,592],{"class":337,"line":431},[335,593,594],{"class":345},"    \n",[335,596,597,599,601,603,605,608],{"class":337,"line":439},[335,598,522],{"class":496},[335,600,525],{"class":492},[335,602,529],{"class":528},[335,604,532],{"class":345},[335,606,607],{"class":366},"'app:process-latefees'",[335,609,538],{"class":345},[335,611,612,614,616,618],{"class":337,"line":457},[335,613,543],{"class":492},[335,615,546],{"class":528},[335,617,549],{"class":345},[335,619,553],{"class":552},[335,621,623,625,627,629,632,634],{"class":337,"line":622},12,[335,624,543],{"class":492},[335,626,560],{"class":528},[335,628,532],{"class":345},[335,630,631],{"class":366},"'04:00'",[335,633,568],{"class":345},[335,635,636],{"class":552},"// At 4:00 AM\n",[335,638,640,642,644,646,648,650],{"class":337,"line":639},13,[335,641,543],{"class":492},[335,643,578],{"class":528},[335,645,532],{"class":345},[335,647,583],{"class":366},[335,649,586],{"class":345},[335,651,589],{"class":552},[477,653,655],{"label":654},"Laravel 10 and below",[326,656,659],{"className":482,"code":657,"filename":658,"language":485,"meta":10,"style":10},"\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","app/Console/Kernel.php",[236,660,661,667,671,681,685,694,709,713,727,732,737,742,747,758,764,779,785,791,796,801,807,812,826,837,842,860,866,912,954,960,965,970,976,981,990,995,1008,1013,1036,1041,1057,1062],{"__ignoreMap":10},[335,662,663,665],{"class":337,"line":338},[335,664,493],{"class":492},[335,666,497],{"class":496},[335,668,669],{"class":337,"line":349},[335,670,374],{"emptyLinePlaceholder":373},[335,672,673,676,679],{"class":337,"line":357},[335,674,675],{"class":492},"namespace",[335,677,678],{"class":528}," App\\Console",[335,680,513],{"class":345},[335,682,683],{"class":337,"line":370},[335,684,374],{"emptyLinePlaceholder":373},[335,686,687,689,692],{"class":337,"line":377},[335,688,507],{"class":492},[335,690,691],{"class":496}," Illuminate\\Console\\Scheduling\\Schedule",[335,693,513],{"class":345},[335,695,696,698,701,704,707],{"class":337,"line":385},[335,697,507],{"class":492},[335,699,700],{"class":496}," Illuminate\\Foundation\\Console\\Kernel",[335,702,703],{"class":492}," as",[335,705,706],{"class":528}," ConsoleKernel",[335,708,513],{"class":345},[335,710,711],{"class":337,"line":394},[335,712,374],{"emptyLinePlaceholder":373},[335,714,715,718,721,724],{"class":337,"line":420},[335,716,717],{"class":492},"class",[335,719,720],{"class":528}," Kernel",[335,722,723],{"class":492}," extends",[335,725,726],{"class":528}," ConsoleKernel\n",[335,728,729],{"class":337,"line":431},[335,730,731],{"class":345},"{\n",[335,733,734],{"class":337,"line":439},[335,735,736],{"class":552},"    /**\n",[335,738,739],{"class":337,"line":457},[335,740,741],{"class":552},"     * The Artisan commands provided by your application.\n",[335,743,744],{"class":337,"line":622},[335,745,746],{"class":552},"     *\n",[335,748,749,752,755],{"class":337,"line":639},[335,750,751],{"class":552},"     * ",[335,753,754],{"class":492},"@var",[335,756,757],{"class":492}," array\n",[335,759,761],{"class":337,"line":760},14,[335,762,763],{"class":552},"     */\n",[335,765,767,770,773,776],{"class":337,"line":766},15,[335,768,769],{"class":492},"    protected",[335,771,772],{"class":345}," $commands ",[335,774,775],{"class":492},"=",[335,777,778],{"class":345}," [\n",[335,780,782],{"class":337,"line":781},16,[335,783,784],{"class":552},"        //\n",[335,786,788],{"class":337,"line":787},17,[335,789,790],{"class":345},"    ];\n",[335,792,794],{"class":337,"line":793},18,[335,795,374],{"emptyLinePlaceholder":373},[335,797,799],{"class":337,"line":798},19,[335,800,736],{"class":552},[335,802,804],{"class":337,"line":803},20,[335,805,806],{"class":552},"     * Define the application's command schedule.\n",[335,808,810],{"class":337,"line":809},21,[335,811,746],{"class":552},[335,813,815,817,820,823],{"class":337,"line":814},22,[335,816,751],{"class":552},[335,818,819],{"class":492},"@param",[335,821,822],{"class":496},"  \\Illuminate\\Console\\Scheduling\\Schedule",[335,824,825],{"class":552},"  $schedule\n",[335,827,829,831,834],{"class":337,"line":828},23,[335,830,751],{"class":552},[335,832,833],{"class":492},"@return",[335,835,836],{"class":492}," void\n",[335,838,840],{"class":337,"line":839},24,[335,841,763],{"class":552},[335,843,845,847,850,853,855,857],{"class":337,"line":844},25,[335,846,769],{"class":492},[335,848,849],{"class":492}," function",[335,851,852],{"class":528}," schedule",[335,854,532],{"class":345},[335,856,522],{"class":496},[335,858,859],{"class":345}," $schedule)\n",[335,861,863],{"class":337,"line":862},26,[335,864,865],{"class":345},"    {\n",[335,867,869,872,875,877,879,882,884,886,888,891,893,895,897,899,901,903,905,907,909],{"class":337,"line":868},27,[335,870,871],{"class":345},"        $schedule",[335,873,874],{"class":492},"->",[335,876,529],{"class":528},[335,878,532],{"class":345},[335,880,881],{"class":366},"'process:invoices'",[335,883,318],{"class":345},[335,885,874],{"class":492},[335,887,546],{"class":528},[335,889,890],{"class":345},"()",[335,892,874],{"class":492},[335,894,560],{"class":528},[335,896,532],{"class":345},[335,898,565],{"class":366},[335,900,318],{"class":345},[335,902,874],{"class":492},[335,904,578],{"class":528},[335,906,532],{"class":345},[335,908,583],{"class":366},[335,910,911],{"class":345},");\n",[335,913,915,917,919,921,923,926,928,930,932,934,936,938,940,942,944,946,948,950,952],{"class":337,"line":914},28,[335,916,871],{"class":345},[335,918,874],{"class":492},[335,920,529],{"class":528},[335,922,532],{"class":345},[335,924,925],{"class":366},"'process:latefees'",[335,927,318],{"class":345},[335,929,874],{"class":492},[335,931,546],{"class":528},[335,933,890],{"class":345},[335,935,874],{"class":492},[335,937,560],{"class":528},[335,939,532],{"class":345},[335,941,631],{"class":366},[335,943,318],{"class":345},[335,945,874],{"class":492},[335,947,578],{"class":528},[335,949,532],{"class":345},[335,951,583],{"class":366},[335,953,911],{"class":345},[335,955,957],{"class":337,"line":956},29,[335,958,959],{"class":345},"    }\n",[335,961,963],{"class":337,"line":962},30,[335,964,374],{"emptyLinePlaceholder":373},[335,966,968],{"class":337,"line":967},31,[335,969,736],{"class":552},[335,971,973],{"class":337,"line":972},32,[335,974,975],{"class":552},"     * Register the commands for the application.\n",[335,977,979],{"class":337,"line":978},33,[335,980,746],{"class":552},[335,982,984,986,988],{"class":337,"line":983},34,[335,985,751],{"class":552},[335,987,833],{"class":492},[335,989,836],{"class":492},[335,991,993],{"class":337,"line":992},35,[335,994,763],{"class":552},[335,996,998,1000,1002,1005],{"class":337,"line":997},36,[335,999,769],{"class":492},[335,1001,849],{"class":492},[335,1003,1004],{"class":528}," commands",[335,1006,1007],{"class":345},"()\n",[335,1009,1011],{"class":337,"line":1010},37,[335,1012,865],{"class":345},[335,1014,1016,1019,1021,1024,1026,1029,1031,1034],{"class":337,"line":1015},38,[335,1017,1018],{"class":496},"        $this",[335,1020,874],{"class":492},[335,1022,1023],{"class":528},"load",[335,1025,532],{"class":345},[335,1027,1028],{"class":496},"__DIR__",[335,1030,279],{"class":492},[335,1032,1033],{"class":366},"'/Commands'",[335,1035,911],{"class":345},[335,1037,1039],{"class":337,"line":1038},39,[335,1040,374],{"emptyLinePlaceholder":373},[335,1042,1044,1047,1050,1052,1055],{"class":337,"line":1043},40,[335,1045,1046],{"class":492},"        require",[335,1048,1049],{"class":528}," base_path",[335,1051,532],{"class":345},[335,1053,1054],{"class":366},"'routes/console.php'",[335,1056,911],{"class":345},[335,1058,1060],{"class":337,"line":1059},41,[335,1061,959],{"class":345},[335,1063,1065],{"class":337,"line":1064},42,[335,1066,1067],{"class":345},"}\n",[241,1069,1070],{},[232,1071,1072,1075,1076,1078,1079,1081,1082,1087,1088,279],{},[294,1073,1074],{},"Multiple processes in one container:"," If you're running ",[236,1077,317],{}," or ",[236,1080,313],{}," and you'd like to have everything in a single container, you can ",[249,1083,1086],{"href":1084,"rel":1085,"target":243},"https://github.com/just-containers/s6-overlay/tree/master#writing-a-service-script",[252],"write your own S6 Overlay service script"," to properly manage multiple processes in a single container. Learn more about about this in our ",[249,1089,1090],{"href":168},"Using S6 Overlay guide",[1092,1093,1094],"style",{},"html pre.shiki code .s4JwU, html code.shiki .s4JwU{--shiki-default:#85E89D}html pre.shiki code .s95oV, html code.shiki .s95oV{--shiki-default:#E1E4E8}html pre.shiki code .sU2Wk, html code.shiki .sU2Wk{--shiki-default:#9ECBFF}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 pre.shiki code .snl16, html code.shiki .snl16{--shiki-default:#F97583}html pre.shiki code .sDLfK, html code.shiki .sDLfK{--shiki-default:#79B8FF}html pre.shiki code .svObZ, html code.shiki .svObZ{--shiki-default:#B392F0}html pre.shiki code .sAwPA, html code.shiki .sAwPA{--shiki-default:#6A737D}",{"title":10,"searchDepth":349,"depth":349,"links":1096},[1097,1098,1099,1100],{"id":229,"depth":349,"text":230},{"id":257,"depth":349,"text":258},{"id":282,"depth":349,"text":283},{"id":468,"depth":349,"text":469},"Learn how to configure a Laravel Task Scheduler with Docker.","md",null,{"head":1105,"layout":7},{"title":1106},"Laravel Task Scheduler with Docker - Docker PHP - Server Side Up",{"title":100,"description":1101},"XRpJLsOFJTejMTD_-tN-FYubrMIl6-v7l5MbgY2VBBM",[1110,1112],{"title":96,"path":97,"stem":98,"description":1111,"children":-1},"Automate your deployments and minimize your efforts with Laravel.",{"title":104,"path":105,"stem":106,"description":1113,"children":-1},"Learn how to configure a Laravel Queue with Docker.",1776367066546]