Skip to main content

Hostinger Cron Jobs

Anyone in here managed to set up Cron Jobs with Hostinger? I have a page running on hostinger and it doesn't matter what i try, Cron doesn't work.

Or should i just use something like cron-job.org?

Mat β€Ž

Try to disable Wordfence and re/captcha as suggested here - sounds crazy but who knows

https://civicrm.stackexchange.com/questions/44894/setting-up-the-cron-on-hostinger

If you have a shared hosting then there might be some limit - check the hosting specs.

Also do not use special characters

Use of Special Characters

Creating PHP cron jobs on hPanel does not support special characters such as ">/dev/null 2>&1". If your cron job requires special characters, you will need to create create a .sh file and set up a custom cron job for executing it.

https://support.hostinger.com/en/articles/1583514-troubleshooting-cron-jobs

Mat β€ŽΒ already tried .sh file but will look at the other link...thanks mat

Mat β€Ž

Manuel MΓΌllerΒ one more link but I am pretty sure you already saw it:

make sure you enter the right path

/usr/local/bin/wp cron event run --due-now --path=/home/u********/domains/yourdomain.com/public_html

*u** is your hostinger username and yourdomain.com is the folder contain public_html files of your wordpress website

https://stackoverflow.com/questions/77740468/using-external-cron-jobs-on-hostinger