Talk with your advisor in detail. Try your best to schedule your
Otherwise, you will lose the job definitely. Since you mention that the job requires Ph.D. degree, if you can not defense and get the degree, it is very obvious. Another way, ask your company to see if they can change the requirement to Master Degree.