PHP & Cron
Posted: Fri Feb 18, 2005 10:56 pm
Hey guys,
Does anyone know how to make a cronjob randomly pick a set number of items in a database? Like say if people enter a competition, it puts it in a table, then at whatever time the cronjob is set to it randomly picks six of those entries? I have absolutely zero insight so any tips and I would be deeply grateful.
Does anyone know how to make a cronjob randomly pick a set number of items in a database? Like say if people enter a competition, it puts it in a table, then at whatever time the cronjob is set to it randomly picks six of those entries? I have absolutely zero insight so any tips and I would be deeply grateful.