Hello
I am facing a problem in activating CornJob functions on Hostinger hosting. I hope for support and assistance
I installed the following CornJob functions in a file with the sh extension based on Hostinger hosting instructions so that it can handle the CornJob functions.
#!/bin/sh
/usr/bin/php /home/u282331204/domains/injazsa.co/public_html/email/app/ mautic:segments:update
/usr/bin/php /home/u282331204/domains/injazsa.co/public_html/email/app/ mautic:campaigns:update
/usr/bin/php /home/u282331204/domains/injazsa.co/public_html/email/app/ mautic:campaigns:trigger
/usr/bin/php /home/u282331204/domains/injazsa.co/public_html/email/app/ mautic:emails:send
/usr/bin/php /home/u282331204/domains/injazsa.co/public_html/email/app/ mautic:iplookup:download
I installed the following command in the Cornjob settings to execute the file
*/5 * * * * /bin/sh /home/u282331204/domains/injazsa.co/public_html/email/run_mautic.sh View Output
But when preparing campaigns, the campaigns do not work and emails are not sent
I want to confirm and help whether it was set up correctly, knowing that Hostinger’s method of adding cornjobs differs from the instructions mentioned on the website mautic