View Full Version : Post 1 item from sql database for 24 hrs
savingc
10-04-2002, 03:04 PM
I run a internet shopping codes website and need to post 1 deal from the database table each day for 24 hours. how can I do this?
Any help much appreciated!
Spookster
10-04-2002, 03:11 PM
Are you wanting this to happen automatically without you having to manually do it everytime?
savingc
10-04-2002, 03:15 PM
Yes, I want the "Deal of the Day" to change every 24 hours.
Spookster
10-04-2002, 09:21 PM
You can do this using a CRON job that is set up to execute a SQL file with the query that you need to perfom. The CRON job can be set to run every 24 hours.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.