 The duration of the practice can vary from a few days to years.The sixth part of the "Ratnakaranda śrāvakācāra" describes "Sallekhana" and its procedure as follows— 

Jain texts mention five transgressions ("Atichara") of the vow