dizkobalz
09-06-2009, 07:40 PM
Hi,
I have this blog hosted on a sub folder like this: www.domain.com/blog/
I'm using wordpress. On my domain index I have a php file thats basicly a html file with a query to my blog database that places blog posts on my index.
Now I want that entire php (with all the other regular html in it) to be run and written as index.html so I can use a cron to let it run every hour or so.
For example like this:
blog-posts-for-index.php
>
some-run-and-write.php (I let cron run this every hour or so)
>
overwrite index.html
Is that possible?
I have this blog hosted on a sub folder like this: www.domain.com/blog/
I'm using wordpress. On my domain index I have a php file thats basicly a html file with a query to my blog database that places blog posts on my index.
Now I want that entire php (with all the other regular html in it) to be run and written as index.html so I can use a cron to let it run every hour or so.
For example like this:
blog-posts-for-index.php
>
some-run-and-write.php (I let cron run this every hour or so)
>
overwrite index.html
Is that possible?