Joey_M Posted October 1, 2023 Posted October 1, 2023 (edited) I'm trying to properly set up the cronjob function for the task processing. However, I can't seem to get it to work. I have asked my host to run the command, they tried and came back to me with this. I placed the ******** instead of my folder's name for privacy reasons. Hello, I don't see any output CT-0c4ade65-cf92-4b07-ac22-bd868cb51047 /$ /opt/cpanel/ea-php81/root/usr/bin/php -d memory_limit=-1 -d max_execution_time=0 /home/********/public_html/applications/core/interface/task/task.php f50001a0169084fe56922c2232173e65 CT-0c4ade65-cf92-4b07-ac22-bd868cb51047 /$ Regards, They've suggested that I speak to the support here. Edited October 1, 2023 by Joey_M
Nathan Explosion Posted October 1, 2023 Posted October 1, 2023 (edited) 1 minute ago, Joey_M said: I don't see any output You're not expected to see any output, so whatever they are troubleshooting then it's not a valid troubleshooting step. Is there an issue with the job running? Are your tasks in the ACP running or not? Edited October 1, 2023 by Nathan Explosion
Joey_M Posted October 1, 2023 Author Posted October 1, 2023 1 minute ago, Nathan Explosion said: You're not expected to see any output. How do I know if it's properly setup? Sorry, I don't get this type of stuff.
Nathan Explosion Posted October 1, 2023 Posted October 1, 2023 2 minutes ago, Nathan Explosion said: Is there an issue with the job running? Are your tasks in the ACP running or not? Go into your ACP, type 'tasks' into the search bar and click the relevant result. Check if the tasks are running by viewing the date information for their last/next run. Joey_M 1
Joey_M Posted October 1, 2023 Author Posted October 1, 2023 It doesn't seem to be running, but I can do it manually. I'm not sure how to proceed from here?
Driven 2 Services Posted October 1, 2023 Posted October 1, 2023 If it's a VPS or dedicated server, In the /var/log directory there should be a cron log. Its usually "cron" or "cron.log". It will list each cron job's run time and possibly error output. If it's not, and you're running this from something like cPanel cron screen, I've found that sometimes you need to replace the entire php "path/php" with just "php". If you get stuck, worst case let it run based on traffic. Joey_M 1
Joey_M Posted October 2, 2023 Author Posted October 2, 2023 I managed to set up a Cronjob where the tasks seem to update, but it didn't help resolve the reason why I wanted to make the switch. I also checked the /var/ there's no log folder. Just one for cpanel. 😞
Recommended Posts