views:

85

answers:

2

I've been trying to create a specialised CMS, as none of the current open-source ones fit my needs for this project.

I did my research on Google, tried multiple times but haven't got very far with this project.

I'm trying to create a CMS for a TV/episode guide which is similar to this where records expire and delete from the database after expiration.

This is the design I'm trying to emulate:

the programme

a typical episode, could use .htaccess to remove php from name

paginated episode display (using script that I found in search here possibly)

I don't have access to cron job as it's on Windows/Apache, so that's out the question for this one.

I'm not sure how to go about this successfully, anyone got any advice?

(Note:Although the linked site runs in ASP.NET, it's the design and feel of it I'm trying to emulate, except in PHP. I've managed to emulate that site's design, but with my own tweaks to it.)

A: 

I can't tell what you are asking but...

Windows has its own scheduler options similar to a cron (at), or you can run something like Quartz for scheduling inside Java containers.

mrjoltcola
A: 

If you're asking how to do scheduled tasks to delete expired records you should read:

http://stackoverflow.com/questions/850556/how-to-emulate-cron-jobs-on-a-windows-server

Last resort you can take a page out from PHP sessions and run a script to do it when people visit the site (not every time, just randomly).

webbiedave