Scheduled Events

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
smstromb
Forum Newbie
Posts: 6
Joined: Thu May 21, 2009 1:42 pm

Scheduled Events

Post 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?
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Scheduled Events

Post 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.
smstromb
Forum Newbie
Posts: 6
Joined: Thu May 21, 2009 1:42 pm

Re: Scheduled Events

Post 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.
Post Reply