Yii Framework Forum: Building A Scheduler In Yii - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Building A Scheduler In Yii Rate Topic: -----

#1 User is offline   ethernetdan 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 30-January 13

Posted 30 January 2013 - 11:43 AM

Hey Everyone,

I am designing a scheduler for an app I am building and I want it to have these features.

Features
  • Schedule Events Down to the Second
  • Support for Repeating Events (example every Monday at 2PM)
  • Triggered by Cron Job


What is the best way to implement this in Yii. I already have some ideas how to do this but I wanted to see if anyone had suggestions.

Thanks!
0

#2 User is offline   waitforit 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 349
  • Joined: 09-February 11

Posted 31 January 2013 - 01:02 AM

Try the recur extension
0

#3 User is offline   ethernetdan 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 30-January 13

Posted 01 February 2013 - 01:49 PM

View Postwaitforit, on 31 January 2013 - 01:02 AM, said:

Try the recur extension


This is exactly what I am looking for, thank you so much! Do you (or anyone else) have experience using this extension? I am planning on using it in an environment which is fairly sensitive and requires a high degree of accuracy.

Can it fire events?, and if so what does it use for the trigger, cron jobs? I am planning on implementing this weekend but I just wanted some more info. Thanks!
0

#4 User is offline   waitforit 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 349
  • Joined: 09-February 11

Posted 03 February 2013 - 12:27 AM

I haven't used the extension but I have used the 'When' code it is based on.

As far as how to trigger stuff. You can certainly setup cronjobs with a Yii console app to run whatever you need. Maybe if you share a little more about what you are trying to do I could suggest some architecture ideas.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users