Welcome Guest, Not a member yet? Register   Sign In
how to write command to run cron on hostinger

(This post was last modified: 08-08-2023, 04:15 AM by lgedson.)

On hostinger I need to set up cron, for that I want to call controller function - my cron function located in public_html/admin/application/controller/cron.php, here send_birthmail() has code to execute for cron in php , so what will be my command to execute con on hostinger. only file inside public_html is getting call via cron my public_html/admin/application/controllers/cron.php should get called for send_birthmail() function action android games

I will assume it's CodeIgniter 3 since you have an application folder. Your cron path should be "public_html/admin/index.php send_birthmail" to trigger the cron job that sends emails
Learning Codeigniter 

Maybe this will help.

CodeIgniter Task Scheduler

This is for Cron Jobs.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )

Theme © iAndrew 2016 - Forum software by © MyBB