I'm trying to setup a Cron Job where it will select a featured video in sequence.
So for example, Video ID 1 is currently the featured video. In a weeks time it will be ID 2. I would then like to load videos 3-18 in after that.
Is this possible using Active Record or an MySQL Statement?
This is quite a hard question to explain, So if you need more info please just comment and I'll get back to you.
Much appreciated.
current_video_idand everytime you run the cronjob update that column with the next ID. Hopefully you know how to make that query. - Daan