Jump to content

Recommended Posts

Posted
7 hours ago, Gary said:

Hi @coolnet560,

This guide may shed some light on setting up a cron job successfully, but the description once 'Use cron (recommended)' is selected should be self explanatory and get you out of trouble.

Thank you for your help.  I had my hosting provider enable the cron job.  

Posted

Unfortunately, it seems I am getting an error message. 

Sent in a ticket to them to fix it.

Could contain: Page, Text, File, Webpage

/opt/alt/php81/usr/bin/php -d memory_limit=-1 -d max_execution_time=0 /home/therecom/forums.therecommunity.net/applications/core/interface/task/task.php 9ffd090fc92a79cd541bc9eeb89397c2

 

Posted

Check the file itself can be executed by your system. Other than that though, it would be something your hosting company would need to look into

Posted
1 hour ago, Marc said:

Check the file itself can be executed by your system. Other than that though, it would be something your hosting company would need to look into

 

56 minutes ago, Donnie95 said:

You may have forgotten to include the random number at the end of the cron command, or the path to your PHP executable and task.php file may be incorrect.

I looked at the command settings and it seems that the * means every minute.  I did change it to 01 and left the stars for the rest.  See what happens tomorrow I guess.

Have to be honest my hosting provider is clueless.  😂

Posted
2 minutes ago, coolnet560 said:

looked at the command settings and it seems that the * means every minute.

Every minute is what you would want 🙂 . Changing that to 01 would just run it on the first minute of every hour.

Posted (edited)
5 minutes ago, Jim M said:

Every minute is what you would want 🙂 . Changing that to 01 would just run it on the first minute of every hour.

If that's the case, any suggestions on the error?

 

I see this in the email "Cron <therecom@webhosting2018> /opt/alt/php81/usr/bin/php -d memory_limit=-1 -d max_execution_time=0 /home/therecom/forums.therecommunity.net/applications/core/interface/task/task.php"

Incorrect Key.  How do I fix that?

Edited by coolnet560
Posted

 

2 minutes ago, teraßyte said:

Based on your screenshot, you are missing the key at the end of the command:

9ffd090fc92a79cd541bc9eeb89397c2

 

Edit the cronjob and be sure to past the entire line of text in it.

Thank you.  Added that.  I guess they forgot to add the key.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...