Re: Sending SMS for user for scheduled time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



that's not the right solution, i think it's better to use cronjob, setup the cronjob on server to run php script. and you "just" leave the server switched ON.

CMIIW
--- On Thu, 7/3/08, kranthi <kranthi117@xxxxxxxxx> wrote:
From: kranthi <kranthi117@xxxxxxxxx>
Subject: Re:  Sending SMS for user for scheduled time
To: php-objects@xxxxxxxxxxxxxxx
Date: Thursday, July 3, 2008, 6:07 AM










    
            yeh... i agree...even tough i never worked with Corn or 'Scheduler' class

but i can say that it it is the same thing which i said earlier...



what i said is instead of the "Cron scheduled task" thing AJAX will trigger

the PHP script..and instead of PC/server u have to ensure that your browser,

PC, Server are switched on..



this is to be done in two steps....

first the browser is to be scheduled  to refresh once in a while(say once a

day)...

just after refresh all the events(sending  SMSs) in the following day have

to be loaded into Javascript(u shuld create setTimeout object for each

scheduled event in the next 24 hours)

this browser is left open all the time...



now the setTimeout objects will call the PHP script on scheduled time...



[Non-text portions of this message have been removed]




      

    
    
	
	 
	
	








	


	
	


      

[Non-text portions of this message have been removed]


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux