create cron job for send automaticaly sms to users |
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
A cron job has nothing to do with Code Igniter.
To call a url with cron job: http://serverfault.com/questions/299287/...a-cron-job To execute a script with cron job: http://www.thegeekstuff.com/2011/07/php-...eek+Stuff) (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
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 ).
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.
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.
Send Text Messages with PHP
Send SMS Text Messages to Mobile Phone PHP Tutorial Manage Cron Jobs with Codeigniter 3.0 and MySQL What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
Here Get login code with API https://www.smsstriker.com/sms-gateway-a...vices.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; ?> |
Welcome Guest, Not a member yet? Register Sign In |