Most probably IRCTC inform before 4 hour of train departure. If you have TQWL ticket, please check your PNR Status online to know the current status of your tickets. When the chart is prepared and then your seat get confirmed, then you geta sms. read more
If a TQWL ticket does not get confirmed, it gets cancelled automatically( in case of e-ticket) / you got to get it cancelled (counter PRS ticket/I-ticket). You will get refund barring a cancellation charge. Refund is immediate for I-ticket/ counter PRS ticket. In case of e-ticket you will receive refund within 48 hours. read more