Send email with Cronjob in yii1

I have to send an email, when there are conditions like the status of an attribute of my table and after six days, please help me! this must be an autoship, and i’ve read about cronjobs but i don’t know how to implement this !!!
for this i created this:

but not working, help meee!!!