Results 1 to 2 of 2
Thread: PHP Cron News Post
Mar 11, 2004, 21:16 #1
PHP Cron News Post
I am currently developing a content management system that creates a static page out of the dynamic page for the news item that an administrator posts.
The administrator has the option of selecting the exact minute that he wants the news item to be visible on the site. Meaning that he can post news items that are in the future.
When the time comes the dynamic page will only post items relating to the current time.
Now here is where I am having the problem. I dont know how to make the script that runs the process of making the static page from the dynamic page be invoked when the correct time has been approached.
I have heard that the cron would invoke scheduled items but I am not sure where to start.
Mar 12, 2004, 02:26 #2
- Join Date
- Feb 2001
- Melbourne Australia
- 0 Post(s)
- 0 Thread(s)
Are you using unix/linux, you should look at the documentation for crontab.
If you have a shared hosting account, you probably won't be able to use crontab, but your host should be able to do this for you (or maybe they provide a tool which can let you do this).
I shall move this to the Server Configuration forum because that's where I think it would be suitable.