The earliest file in the blessing of oils seems inside the Apostolic Tradition, an early Christian document normally acknowledged to be dated ahead of 235 CE. Nowadays, consecrating the oils is closely tied to planning for Holy Saturday’s Easter Vigil, as 1000's are baptized in the Catholic Church from https://liantong.com.tw/hsinchu-house-secondary/