coolnet560 Posted November 8 Posted November 8 I don't have much traffic at the moment it seems, and I am receiving this message. Any suggestions on how to fix this?
Marc Posted November 8 Posted November 8 I'm not sure what I can say to you other than what it saus in the message there. As it says, you should set up cron or web service coolnet560 1
Daniel F Posted November 8 Posted November 8 You could use cron jobs if you host supports it (most do!) or use a web service like easycron coolnet560 1
Gary Posted November 9 Posted November 9 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. coolnet560 1
coolnet560 Posted November 10 Author Posted November 10 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.
Gary Posted November 10 Posted November 10 Good to hear! Your community should run perfectly from now on. 😉
coolnet560 Posted November 11 Author Posted November 11 Unfortunately, it seems I am getting an error message. Sent in a ticket to them to fix it. /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 Marc 1
Marc Posted November 11 Posted November 11 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
Donnie95 Posted November 11 Posted November 11 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.
coolnet560 Posted November 11 Author Posted November 11 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. 😂
Jim M Posted November 11 Posted November 11 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.
coolnet560 Posted November 11 Author Posted November 11 (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 November 11 by coolnet560
teraßyte Posted November 11 Posted November 11 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. coolnet560 1
coolnet560 Posted November 11 Author Posted November 11 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. teraßyte 1
Recommended Posts