SMS Cron job fails

  • Chris Elliott
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
4 years 3 months ago - 4 years 3 months ago #140414 by Chris Elliott
SMS Cron job fails was created by Chris Elliott
Hi there

I am testing out the SMS Cron model at server command line level and I see reports:
Code:
[root@srv5 ~]# php -q /home/tapiochr/public_html/index.php?trigger_reminder_code=MyCode Could not open input file: /home/tapiochr/public_html/index.php?trigger_reminder_code=MyCode [root@srv5 ~]#[root@myserver ~]# php -q /home/tapiochr/public_html/index.php?trigger_reminder_code=MyCode Could not open input file: /home/tapiochr/public_html/index.php?trigger_reminder_code=MyCode [root@myserver ~]#


I have checked that the EB SMS plugin is enabled and that the Reminder Code is correct.

Note that I always use the php -q for all CRON tasks, so, is the /index.php?trigger_reminder_code parameter correct?

Thanks
Chris
Last edit: 4 years 3 months ago by Chris Elliott.

Please Log in or Create an account to join the conversation.

More
4 years 3 months ago - 4 years 3 months ago #140415 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic SMS Cron job fails
Hi Chris

You need to make a cron job to make a request to the following URL

domain.com/index.php?trigger_reminder_code=MyCode
(replace domain.com/ with URL of your site)

See instructions at stackoverflow.com/questions/11375260/cro...ress-every-5-minutes , it might help

Tuan
Last edit: 4 years 3 months ago by Tuan Pham Ngoc.

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc