create cron job for send automaticaly sms to users - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: create cron job for send automaticaly sms to users (/showthread.php?tid=65599) |
create cron job for send automaticaly sms to users - webgooy - 06-29-2016 hi i try to create cron job in cpanel for sending sms automaticaly.and i paste my code below. /usr/bin/php /home/webgooy/public_html/samane/index.php admin sms "send_multi_sms" admin=controller sms=function send_multi_sms=parameter samane=folder of codeigniter but this code is not working please help me for this problem RE: create cron job for send automaticaly sms to users - marksman - 06-29-2016 do you have a working sms server and gateway? RE: create cron job for send automaticaly sms to users - Ivo Miranda - 06-29-2016 A cron job has nothing to do with Code Igniter. To call a url with cron job: http://serverfault.com/questions/299287/how-do-i-use-curl-in-a-cron-job To execute a script with cron job: http://www.thegeekstuff.com/2011/07/php-cron-job/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+TheGeekStuff+(The+Geek+Stuff) RE: create cron job for send automaticaly sms to users - webgooy - 06-29-2016 (06-29-2016, 08:30 AM)marksman Wrote: do you have a working sms server and gateway? yes i have below url do send sms to number but need login to script. is it possible that to make problem?or my job cron is wrong? http://mydomain.com/[codeigniter folder]/index.php?admin/sms/send_multi_sms RE: create cron job for send automaticaly sms to users - Nash - 07-05-2016 You may try external cron job like easycron.com which starts processes on the URL(like http://mydomain.com/[codeigniter folder]/index.php?admin/sms/send_multi_sms ). RE: create cron job for send automaticaly sms to users - devijainab786 - 07-21-2016 you want to send SMS automatically then you used[url=" https://msg91.com/sms-for-developers"] bulk SMS api java[url]this is very helpful. RE: create cron job for send automaticaly sms to users - Aabhapure - 01-23-2017 You can get sms gateway service provider to send sms by Top 5 Bulk SMS Service Provider in India with SMS API. these services are cheaper then other marketing tool so it take a place of marketing tool now a days. RE: create cron job for send automaticaly sms to users - InsiteFX - 01-23-2017 Send Text Messages with PHP Send SMS Text Messages to Mobile Phone PHP Tutorial Manage Cron Jobs with Codeigniter 3.0 and MySQL RE: create cron job for send automaticaly sms to users - smsstriker - 09-18-2017 Here Get login code with API https://www.smsstriker.com/sms-gateway-api-integration-services.html $username = "YOURAPIUSERID"; $password = "YOUAPIPASSWORD"; $data = "username="."$username"." &password="."$password"."&to="."$numbers"."&type=1&dnd_check=0"; $ch = curl_init(); curl_setopt($ch,CURLOPT_URL,$data); $response = curl_exec($ch); curl_close($ch); echo $response; ?> |