If last_date is null the job is not executed, but if it is not null it is executed.