Enquires to the skunk community

Hallo guyz . what do i need to make sure that my system sends reminder sms to my clients. my system is in PHP/Mysql

Thinking aloud: PHP is an event driven platform i.e. someone or something needs to do something for PHP to do something e.g. click a link or a button. Of course there are exceptions to this rule, like using Javascript to mimic user actions at regular intervals, but then this means the browser needs to be open all the time, something not possible on a serious server. But maybe you could setup a scheduled event in either windows or Linux which accesses a certain URL, then this URL just happens to be the one that sends the sms'es.... Or you could create a desktop application using PHP <http://gtk.php.net/>. Now that would be fun! :-) On Fri, Jun 25, 2010 at 1:17 PM, John wambugu <bwambugu2004@yahoo.com>wrote:
Hallo guyz . what do i need to make sure that my system sends reminder sms to my clients. my system is in PHP/Mysql
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Server donations spreadsheet
http://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1f... ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke

cron jobs On Fri, 2010-06-25 at 13:51 +0300, Peter Karunyu wrote:
Thinking aloud: PHP is an event driven platform i.e. someone or something needs to do something for PHP to do something e.g. click a link or a button. Of course there are exceptions to this rule, like using Javascript to mimic user actions at regular intervals, but then this means the browser needs to be open all the time, something not possible on a serious server.
But maybe you could setup a scheduled event in either windows or Linux which accesses a certain URL, then this URL just happens to be the one that sends the sms'es....
Or you could create a desktop application using PHP. Now that would be fun!
:-)
On Fri, Jun 25, 2010 at 1:17 PM, John wambugu <bwambugu2004@yahoo.com> wrote:
Hallo guyz . what do i need to make sure that my system sends reminder sms to my clients. my system is in PHP/Mysql
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Server donations spreadsheet http://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1f... ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Server donations spreadsheet http://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1f... ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
-- Davis Waithaka Maina Business Development Manager Systems Kenya Solutions 4th Fl. KCB Building Enterprise Rd., Nairobi www.systemskenya.com +254 721 305 374

There is also: http://www.php.net/manual/en/book.win32service.php for windows and http://pear.php.net/package/System_Daemon for linux. On Fri, Jun 25, 2010 at 2:10 PM, Davis Waithaka <daviswaithaka@gmail.com>wrote:
cron jobs
On Fri, 2010-06-25 at 13:51 +0300, Peter Karunyu wrote:
Thinking aloud: PHP is an event driven platform i.e. someone or something needs to do something for PHP to do something e.g. click a link or a button. Of course there are exceptions to this rule, like using Javascript to mimic user actions at regular intervals, but then this means the browser needs to be open all the time, something not possible on a serious server.
But maybe you could setup a scheduled event in either windows or Linux which accesses a certain URL, then this URL just happens to be the one that sends the sms'es....
Or you could create a desktop application using PHP <http://gtk.php.net/>. Now that would be fun!
:-)
On Fri, Jun 25, 2010 at 1:17 PM, John wambugu <bwambugu2004@yahoo.com> wrote:
Hallo guyz . what do i need to make sure that my system sends reminder sms to my clients. my system is in PHP/Mysql
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Server donations spreadsheet
http://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1f... ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
_______________________________________________Skunkworks mailing listSkunkworks@lists.my.co.kehttp://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks------------Skunkwo... Server donations spreadsheethttp://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1f... Ruleshttp://my.co.ke/phpbb/viewtopic.php?f=24&t=94------------Other services @ http://my.co.ke
-- Davis Waithaka Maina Business Development Manager Systems Kenya Solutions 4th Fl. KCB Building Enterprise Rd., Nairobiwww.systemskenya.com +254 721 305 374
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Server donations spreadsheet
http://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1f... ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
-- Regards, Brian Ngure

I have systems running in PHP that do things periodically, I go round this by writing cron scripts in linux and specifying php as the intepretor of the scripts eg ================= #!/usr/bin/php <?php Include('Mail.php'); # pear mail ... ... # or using kannel to send an sms using http request file_get_contents('http://abcd/sendmessage?dst=072283743&msg=hello'); ?> ================= I then save that, put execute permissions (chmod +x filename) then put it on my cron Note that you have to have php-cli installed on linux That way its executed periodically. Same applies for windows (task scheduler) From: Peter Karunyu [mailto:pkarunyu@gmail.com] Sent: 25 June 2010 12:52 p To: Skunkworks Mailing List Subject: Re: [Skunkworks] Enquires to the skunk community Thinking aloud: PHP is an event driven platform i.e. someone or something needs to do something for PHP to do something e.g. click a link or a button. Of course there are exceptions to this rule, like using Javascript to mimic user actions at regular intervals, but then this means the browser needs to be open all the time, something not possible on a serious server. But maybe you could setup a scheduled event in either windows or Linux which accesses a certain URL, then this URL just happens to be the one that sends the sms'es.... Or you could create a desktop application using PHP. Now that would be fun! :-) On Fri, Jun 25, 2010 at 1:17 PM, John wambugu <bwambugu2004@yahoo.com> wrote: Hallo guyz . what do i need to make sure that my system sends reminder sms to my clients. my system is in PHP/Mysql _______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Server donations spreadsheet http://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1f bjAwOUE&hl=en ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke

If you can use shell scripts and minicom. ping me privately if u are interested in this. On 25 June 2010 16:05, Chris | Ronell Africa <chris@ronellafrica.com> wrote:
I have systems running in PHP that do things periodically, I go round this by writing cron scripts in linux and specifying php as the intepretor of the scripts eg
================= #!/usr/bin/php <?php
Include('Mail.php'); # pear mail
... ...
# or using kannel to send an sms using http request
file_get_contents('http://abcd/sendmessage?dst=072283743&msg=hello'<http://abcd/sendmessage?dst=072283743&msg=hello%27> );
?> =================
I then save that, put execute permissions (chmod +x filename) then put it on my cron Note that you have to have php-cli installed on linux That way its executed periodically. Same applies for windows (task scheduler)
From: Peter Karunyu [mailto:pkarunyu@gmail.com] Sent: 25 June 2010 12:52 p To: Skunkworks Mailing List Subject: Re: [Skunkworks] Enquires to the skunk community
Thinking aloud: PHP is an event driven platform i.e. someone or something needs to do something for PHP to do something e.g. click a link or a button. Of course there are exceptions to this rule, like using Javascript to mimic user actions at regular intervals, but then this means the browser needs to be open all the time, something not possible on a serious server.
But maybe you could setup a scheduled event in either windows or Linux which accesses a certain URL, then this URL just happens to be the one that sends the sms'es....
Or you could create a desktop application using PHP. Now that would be fun!
:-)
On Fri, Jun 25, 2010 at 1:17 PM, John wambugu <bwambugu2004@yahoo.com> wrote: Hallo guyz . what do i need to make sure that my system sends reminder sms to my clients. my system is in PHP/Mysql
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Server donations spreadsheet
http://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1f bjAwOUE&hl=en<http://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1f%0AbjAwOUE&hl=en> ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
_______________________________________________ Skunkworks mailing list Skunkworks@lists.my.co.ke http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks ------------ Skunkworks Server donations spreadsheet
http://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1f... ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke
-- Mimano G. Muthondu, Software Developer skype : gmimano Mobile : +254 723 615 206
participants (6)
-
Brian Ngure
-
Chris | Ronell Africa
-
Davis Waithaka
-
Geoffrey Mimano
-
John wambugu
-
Peter Karunyu