auto status update in database?

i’m new to yii please help me, how to do this,

after certain period of time (ie. 1 month) the status column in test tbl should automatically set to zero in database.

thnx in advance

What kind of post is this? If you expect some help, then please spend at least 5 minutes to write normal post which will help any other user with the same problem. Here is example how your post should be written:

In order to do what you want, you can create cronjob which will execute PHP code every one month. Inside this PHP script you can change the value of your column.

sorry for not posting properly from next time i will keep all things in mind,

and i will check with cronjob.