This topic contains a post which is marked as Best Answer. Press here if you would like to see it.
*

mariogtz

  • ***
  • 59 posts
I need help. shows error when viewing cron job output.
« on: August 14, 2024, 09:08:33 PM »
shows error when viewing cron job output.

I need help please.

*

MB Themes

Re: I need help. shows error when viewing cron job output.
« Reply #1 on: August 15, 2024, 01:30:16 PM »
You should not reference that file.
https://docs.osclasspoint.com/cron-setup
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

mariogtz

  • ***
  • 59 posts
Re: I need help. shows error when viewing cron job output.
« Reply #2 on: August 15, 2024, 08:40:31 PM »
I have followed the guide but it does not work. the hosting company is hostinger.

I don't know what mistake I am making. could you please guide me?

Marked as best answer by frosticek on August 19, 2024, 10:27:43 AM
*

nootkan

  • **
  • 29 posts
Re: I need help. shows error when viewing cron job output.
« Reply #3 on: August 17, 2024, 10:02:47 PM »
I have followed the guide but it does not work. the hosting company is hostinger.

I don't know what mistake I am making. could you please guide me?

Here are the instructions for setting up cron jobs in cPanel that I use (see screenshots). It looks like your host uses hPanel (their control panel) instead of cPanel but it does look similar so hopefully this will guide you when using it.

Make sure you know your username, path and php version before hand.
Most paths are public_html or www. It looks like it is shown to you in your hPanel.

Pick the cron from the dropdown ie: minutely
It should fill all the pertinent details for you.
Type in the command for the cron (see screenshot) ensuring to hit the spacebar before /home and after index.php. Also there is a space between the -p, cron, -t and minutely etc.

Do the above for each cron job required ie: minutely, hourly, daily, weekly, monthly and yearly.

Double check each one afterwards in the Current Cron Jobs panel below to see that they are accurate and if not edit them.

Then make sure you have unchecked the auto cron box in your osclassifieds admin and save.  Refresh to confirm cron is working (see screenshot).

I had to join screenshots into two instead of all 8 I created due to attachment restrictions for this forum. And they are backwards in order.  Sorry.

If you're still having issues you may want to contact Hostinger for help.

Good luck.


« Last Edit: August 17, 2024, 10:06:33 PM by nootkan »

*

mariogtz

  • ***
  • 59 posts
Re: I need help. shows error when viewing cron job output.
« Reply #4 on: August 17, 2024, 10:53:15 PM »
thank you for the guide. it helped me. thank you.