Then if you are using linux google "cron"...windows google "scheduled tasks"
the process would be simply to have a console that searches for items that are due to trigger at a certain date, and take action on those.
the cron job or scheduled task will execute that console script every X minutes.
Not really all that hard to do :S
On Mon, Oct 22, 2012 at 5:47 PM, ecko usil <ecko.ucil@gmail.com> wrote:
This is my case: I create some task with date time > now(), it means scheduled task. When task time is coming that task will run another task.ex: Create some email message now but scheduled for sent next week to multiple accounts.thanks all for your reply. Any code sample will help me a lot :D
On Monday, October 22, 2012 2:26:48 PM UTC+7, Vanja Dizdarević wrote:...you mean published < NOW() ...
That typo cost me 5 minutes of thinking. :D--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
No comments:
Post a Comment