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