Page 1 of 1

Scheduled Events

Posted: Thu May 21, 2009 1:47 pm
by smstromb
I'm trying to create a website that allows users to blog information but they can set a time delay on it before it's posted. So for example if a user writes a story and set's a time delay of 30 minutes on it, it would wait 30 minutes before it would be posted. How do I set up scheduled events in PhP that would allow me to do this?

Re: Scheduled Events

Posted: Thu May 21, 2009 2:08 pm
by requinix
That method will be annoying.

Set a publication date 30 minutes into the future and make stuff show up only if the publication date has passed.

Re: Scheduled Events

Posted: Thu May 21, 2009 2:24 pm
by smstromb
I can't do this. The posts are being sent to twitter using their API so when they are sent they are displayed on twitter immediately. I want to be able to give the user the choice of setting a delay on their post.