Project

General

Profile

Task #85533

Updated by Josef Glatz about 6 years ago

h1. Problem/Description 

 It's annoying if the TYPO3 scheduler is running the update task @language:update@ and does always output the progress like: 

 <pre> 
 Updating language packs of all activated extensions for locales "bg, cs, fr, de, hu, it, pl, ru, sl"  
 0/612 [>---------------------------] 0%  
 1/612 [>---------------------------] 0%  
 2/612 [>---------------------------] 0%  
 3/612 [>---------------------------] 0%  
 4/612 [>---------------------------] 0%  
 5/612 [>---------------------------] 0%  
 6/612 [>---------------------------] 0%  
 7/612 [>---------------------------] 1%  
 8/612 [>---------------------------] 1%  
 9/612 [>---------------------------] 1%  
 10/612 [>---------------------------] 1%  
 11/612 [>---------------------------] 1%  
 12/612 [>---------------------------] 1%  
 13/612 [>---------------------------] 2%  
 14/612 [>---------------------------] 2%  
 15/612 [>---------------------------] 2%  
 16/612 [>---------------------------] 2%  
 17/612 [>---------------------------] 2%  
 18/612 [>---------------------------] 2%  
 19/612 [>---------------------------] 3%  
 20/612 [>---------------------------] 3%  
 21/612 [>---------------------------] 3%  
 22/612 [=>--------------------------] 3%  
 23/612 [=>--------------------------] 3%  
 24/612 [=>--------------------------] 3%  
 25/612 [=>--------------------------] 4%  
 26/612 [=>--------------------------] 4%  
 27/612 [=>--------------------------] 4%  
 28/612 [=>--------------------------] 4%  
 29/612 [=>--------------------------] 4%  
 30/612 [=>--------------------------] 4%  
 31/612 [=>--------------------------] 5%  
 32/612 [=>--------------------------] 5%  
 33/612 [=>--------------------------] 5%  
 34/612 [=>--------------------------] 5%  
 35/612 [=>--------------------------] 5%  
 36/612 [=>--------------------------] 5%  
 37/612 [=>--------------------------] 6%  
 38/612 [=>--------------------------] 6%  
 39/612 [=>--------------------------] 6%  
 40/612 [=>--------------------------] 6%  
 41/612 [=>--------------------------] 6%  
 42/612 [=>--------------------------] 6%  
 43/612 [=>--------------------------] 7%  
 44/612 [==>-------------------------] 7%  
 45/612 [==>-------------------------] 7%  
 46/612 [==>-------------------------] 7%  
 47/612 [==>-------------------------] 7%  
 48/612 [==>-------------------------] 7%  
 49/612 [==>-------------------------] 8%  
 50/612 [==>-------------------------] 8%  
 51/612 [==>-------------------------] 8%  
 52/612 [==>-------------------------] 8%  
 53/612 [==>-------------------------] 8%  
 54/612 [==>-------------------------] 8%  
 55/612 [==>-------------------------] 8%  
 56/612 [==>-------------------------] 9%  
 57/612 [==>-------------------------] 9%  
 58/612 [==>-------------------------] 9%  
 59/612 [==>-------------------------] 9%  
 60/612 [==>-------------------------] 9%  
 61/612 [==>-------------------------] 9%  
 62/612 [==>-------------------------] 10%  
 63/612 [==>-------------------------] 10%  
 64/612 [==>-------------------------] 10%  
 65/612 [==>-------------------------] 10%  
 66/612 [===>------------------------] 10%  
 67/612 [===>------------------------] 10%  
 68/612 [===>------------------------] 11%  
 69/612 [===>------------------------] 11%  
 70/612 [===>------------------------] 11%  
 71/612 [===>------------------------] 11%  
 72/612 [===>------------------------] 11%  
 73/612 [===>------------------------] 11%  
 74/612 [===>------------------------] 12%  
 75/612 [===>------------------------] 12%  
 76/612 [===>------------------------] 12%  
 77/612 [===>------------------------] 12%  
 78/612 [===>------------------------] 12%  
 79/612 [===>------------------------] 12%  
 80/612 [===>------------------------] 13%  
 ... 
 ... 
 ... 
 ... 
 81/612 [===>------------------------] 13%  
 82/612 [===>------------------------] 13%  
 83/612 [===>------------------------] 13%  
 84/612 [===>------------------------] 13%  
 85/612 [===>------------------------] 13%  
 86/612 [===>------------------------] 14%  
 87/612 [===>------------------------] 14%  
 88/612 [====>-----------------------] 14%  
 89/612 [====>-----------------------] 14%  
 90/612 [====>-----------------------] 14%  
 91/612 [====>-----------------------] 14%  
 92/612 [====>-----------------------] 15%  
 93/612 [====>-----------------------] 15%  
 94/612 [====>-----------------------] 15%  
 95/612 [====>-----------------------] 15%  
 96/612 [====>-----------------------] 15%  
 97/612 [====>-----------------------] 15%  
 98/612 [====>-----------------------] 16%  
 99/612 [====>-----------------------] 16%  
 100/612 [====>-----------------------] 16%  
 101/612 [====>-----------------------] 16%  
 102/612 [====>-----------------------] 16%  
 103/612 [====>-----------------------] 16%  
 104/612 [====>-----------------------] 16%  
 105/612 [====>-----------------------] 17%  
 106/612 [====>-----------------------] 17%  
 107/612 [====>-----------------------] 17%  
 108/612 [====>-----------------------] 17%  
 109/612 [====>-----------------------] 17%  
 110/612 [=====>----------------------] 17%  
 111/612 [=====>----------------------] 18%  
 112/612 [=====>----------------------] 18%  
 113/612 [=====>----------------------] 18%  
 114/612 [=====>----------------------] 18%  
 115/612 [=====>----------------------] 18%  
 116/612 [=====>----------------------] 18%  
 117/612 [=====>----------------------] 19%  
 118/612 [=====>----------------------] 19%  
 119/612 [=====>----------------------] 19%  
 120/612 [=====>----------------------] 19%  
 121/612 [=====>----------------------] 19%  
 122/612 [=====>----------------------] 19%  
 123/612 [=====>----------------------] 20%  
 124/612 [=====>----------------------] 20%  
 125/612 [=====>----------------------] 20%  
 126/612 [=====>----------------------] 20%  
 127/612 [=====>----------------------] 20%  
 128/612 [=====>----------------------] 20%  
 129/612 [=====>----------------------] 21%  
 130/612 [=====>----------------------] 21%  
 131/612 [=====>----------------------] 21%  
 132/612 [======>---------------------] 21%  
 133/612 [======>---------------------] 21%  
 134/612 [======>---------------------] 21%  
 135/612 [======>---------------------] 22%  
 136/612 [======>---------------------] 22%  
 137/612 [======>---------------------] 22%  
 138/612 [======>---------------------] 22%  
 139/612 [======>---------------------] 22%  
 140/612 [======>---------------------] 22%  
 141/612 [======>---------------------] 23%  
 142/612 [======>---------------------] 23%  
 143/612 [======>---------------------] 23%  
 144/612 [======>---------------------] 23%  
 145/612 [======>---------------------] 23%  
 146/612 [======>---------------------] 23%  
 147/612 [======>---------------------] 24%  
 148/612 [======>---------------------] 24%  
 149/612 [======>---------------------] 24%  
 150/612 [======>---------------------] 24%  
 151/612 [======>---------------------] 24%  
 152/612 [======>---------------------] 24%  
 153/612 [=======>--------------------] 25%  
 154/612 [=======>--------------------] 25%  
 155/612 [=======>--------------------] 25%  
 156/612 [=======>--------------------] 25%  
 157/612 [=======>--------------------] 25%  
 158/612 [=======>--------------------] 25%  
 159/612 [=======>--------------------] 25%  
 160/612 [=======>--------------------] 26%  
 161/612 [=======>--------------------] 26%  
 162/612 [=======>--------------------] 26%  
 163/612 [=======>--------------------] 26%  
 164/612 [=======>--------------------] 26%  
 165/612 [=======>--------------------] 26%  
 166/612 [=======>--------------------] 27%  
 167/612 [=======>--------------------] 27%  
 168/612 [=======>--------------------] 27%  
 169/612 [=======>--------------------] 27%  
 170/612 [=======>--------------------] 27%  
 171/612 [=======>--------------------] 27%  
 172/612 [=======>--------------------] 28%  
 173/612 [=======>--------------------] 28%  
 174/612 [=======>--------------------] 28%  
 175/612 [========>-------------------] 28%  
 176/612 [========>-------------------] 28%  
 177/612 [========>-------------------] 28%  
 178/612 [========>-------------------] 29%  
 179/612 [========>-------------------] 29%  
 180/612 [========>-------------------] 29%  
 181/612 [========>-------------------] 29%  
 182/612 [========>-------------------] 29%  
 183/612 [========>-------------------] 29%  
 184/612 [========>-------------------] 30%  
 185/612 [========>-------------------] 30%  
 186/612 [========>-------------------] 30%  
 187/612 [========>-------------------] 30%  
 188/612 [========>-------------------] 30%  
 189/612 [========>-------------------] 30%  
 190/612 [========>-------------------] 31%  
 191/612 [========>-------------------] 31%  
 192/612 [========>-------------------] 31%  
 193/612 [========>-------------------] 31%  
 194/612 [========>-------------------] 31%  
 195/612 [========>-------------------] 31%  
 196/612 [========>-------------------] 32%  
 197/612 [=========>------------------] 32%  
 198/612 [=========>------------------] 32%  
 199/612 [=========>------------------] 32%  
 200/612 [=========>------------------] 32%  
 201/612 [=========>------------------] 32%  
 202/612 [=========>------------------] 33%  
 203/612 [=========>------------------] 33%  
 204/612 [=========>------------------] 33%  
 205/612 [=========>------------------] 33%  
 206/612 [=========>------------------] 33%  
 207/612 [=========>------------------] 33%  
 208/612 [=========>------------------] 33%  
 209/612 [=========>------------------] 34%  
 210/612 [=========>------------------] 34%  
 211/612 [=========>------------------] 34%  
 212/612 [=========>------------------] 34%  
 213/612 [=========>------------------] 34%  
 214/612 [=========>------------------] 34%  
 215/612 [=========>------------------] 35%  
 216/612 [=========>------------------] 35%  
 217/612 [=========>------------------] 35%  
 218/612 [=========>------------------] 35%  
 219/612 [==========>-----------------] 35%  
 220/612 [==========>-----------------] 35%  
 221/612 [==========>-----------------] 36%  
 222/612 [==========>-----------------] 36%  
 223/612 [==========>-----------------] 36%  
 224/612 [==========>-----------------] 36%  
 225/612 [==========>-----------------] 36%  
 226/612 [==========>-----------------] 36%  
 227/612 [==========>-----------------] 37%  
 228/612 [==========>-----------------] 37%  
 229/612 [==========>-----------------] 37%  
 230/612 [==========>-----------------] 37%  
 231/612 [==========>-----------------] 37%  
 232/612 [==========>-----------------] 37%  
 233/612 [==========>-----------------] 38%  
 234/612 [==========>-----------------] 38%  
 235/612 [==========>-----------------] 38%  
 236/612 [==========>-----------------] 38%  
 ... 
 </pre> 

 This could lead to cronjob e-mails which doesn't contain errors and only the successfully completed language pack update. 


 h1. ToDo(s) 

 * add option to silent the progress 
 * make it possible to set the option when the command is executed via scheduler 
 ** I would personally tend to disable the output by default and only show it if an option @--show-progress@. 

Back