Updating MYSQL everyday in a fixed Time

Hello Yii Lover

Any Idea will be highly appreciable. Thanks in advance.


I want to update some database(MySQL) value in every day in a specific time(0:0:0) after some calculation.

I am new in such type of operation.

can i manage this in my Code and if yes, then how?

You need a console command that will be runned using cron (or at if you’re using Windows).