Reputation: 503
Is there a possible way to execute a query on a specific given Date and Time using PHP or ODBC
$date = '11/30/2013 11:59 AM';
Insert into tbl1 (id,name,age) values ('$id','$name','$age');
Upvotes: 0
Views: 980
Reputation: 993
The software utility CRON is something that can help you schedule jobs and this is generally found in Unix based operating Systems. So if you are using some Unix based hosting, they maybe providing you a scheduler that can help you execute a particular PHP script at a particular interval.
This is the link to BlueHost page that tells you ways to set up CRON with your PHP. Similarly you can find ways to do this at your own hosting. I am sure there is not a lot of programming involved, just you need to make sure how can you initialize CRON at your server or hosting and then you can write your PHP scripts in normal fashion (like you always do)
One thing more, if your hosting is providing you Cpanel (which most hostings do these days), this link might then be helpful for you. Happy Scheduling :)
Upvotes: 1