Re: Messaging service

2006-09-13 Thread John Zimmerman
The way in which you would implement it does depend on what kind of jobs you need to run.Just like how there is no "one true backup solution" that fits everyone's needs or every situation.Having it all based out of a "cron_controller" would allow you to build an administration interface for it with

Re: Messaging service

2006-09-13 Thread Brian Wisti
> I don't see the benefit of the extra roundtrip via the webserver? > > Isn't it more clear to have a cronjob execute a script directly > instead of redirecting it through the webserver and an extra > controller? Moreover, your ISP could impose limits on maximum > execution time. Batch processing

Re: Messaging service

2006-09-12 Thread Martin Schapendonk
On 9/13/06, John Zimmerman <[EMAIL PROTECTED]> wrote: > The other way to do it would be to create a "cronjobs_controller.php" that > would have table called cronjobs full of tasks that needed to be executed > and their corresponding schedules. You could then setup a page to access in > your contr

Re: Messaging service

2006-09-12 Thread John Zimmerman
One way you can do it with cake is use an idea similar to psuedo-cron-jobs (there is a php script somewhere).Basically you just check to see if anything is scheduled to happen on each page request.  This is assuming the page request happen frequently. The other way to do it would be to create a "cr

Re: Messaging service

2006-09-12 Thread [EMAIL PROTECTED]
I don't think it's beyond Cake at all, I have an application that sends day-before-reminders to users via SMS. The only different thing is cron jobs, which are simple to set up on your host. Just have a script that sends the email to your users and set the cron to run the script everyday. Easy pea

Re: Messaging service

2006-09-12 Thread Chris Hartjes
On 9/12/06, Marcelo de Moraes Serpa <[EMAIL PROTECTED]> wrote: > I'm thinking about implementing a service where the user gets warned by > email 1 day before the event will happen. However, I'm not sure how I will > trigger it, what I imagine is that a service should be running 24/7. How > could I

Re: Messaging service

2006-09-12 Thread Mikee Freedom
no worries mate, i asked the same question the first time around. used to run scheduled jobs such as system tasks, nightly security checks, website analysis reports, and backups. basically, if you are able to administor your server you can set up a cron job to run at certain times during the day

Re: Messaging service

2006-09-12 Thread Marcelo de Moraes Serpa
hmmm... forgive my ignorance... but what is a cron job?On 9/12/06, Mikee Freedom <[EMAIL PROTECTED] > wrote:cron job on the server.On 13/09/06, Marcelo de Moraes Serpa < [EMAIL PROTECTED]> wrote:> I'm thinking about implementing a service where the user gets warned by> email 1 day before the event

Re: Messaging service

2006-09-12 Thread Mikee Freedom
cron job on the server. On 13/09/06, Marcelo de Moraes Serpa <[EMAIL PROTECTED]> wrote: > I'm thinking about implementing a service where the user gets warned by > email 1 day before the event will happen. However, I'm not sure how I will > trigger it, what I imagine is that a service should be r

Messaging service

2006-09-12 Thread Marcelo de Moraes Serpa
I'm thinking about implementing a service where the user gets warned by email 1 day before the event will happen. However, I'm not sure how I will trigger it, what I imagine is that a service should be running 24/7. How could I do that? Thanks in advance,Marcelo. --~--~-~--~~--