Using Redis to Load Data-please help me!

I'm doing with Redis and Mysql
I have problem with Using Redis to Load Data.
Before my Application load Data direct from query Mysql DB
But now I want it only load form DB one time in 2 hours
and in 2 hours, Application using Redis to load this Data
After 2 hours,this App continue to query form DB
I don't know how to do this
Please help me solve this problem.