Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any way to automatically run PHP script on Hosting web server withour cron?

I had a script which sends sms alerts everyday. I want it to send automatically send sms by fetching message from database. Can I do it without cron. Is there any other solution. Plz help

like image 500
Rajasekar Avatar asked Dec 03 '22 06:12

Rajasekar


2 Answers

Have an outside AppEngine cron job sheduler: Use google AppEngine, it's free. The outside "task" can then "callback" a PHP script of yours.

I fail to see what's wrong with using the local cron on your machine though aside from it being blocked for you to access.

like image 124
jldupont Avatar answered Dec 11 '22 15:12

jldupont


You can use a webcron service to trigger your script.

like image 28
Roch Avatar answered Dec 11 '22 15:12

Roch