The easiest way is to make a cron job, you can find an example for RadioBot on the wiki.