Cron job setup on CwP control Centos 8

I have notice don’t see any instruction on this model most user Cpanel or Plesk other Ubuntu OS.
Can you help have the default but seem not to run can it be run though web calling
"wget -q -O " just asking most of cron are run though the top.

Please help thank you.

Hi,

Maybe this will help:

Thank you, but i have figure out works great have root access have the admin set correct code
cd /home/rootaccess && /usr/bin/php -d register_argc_argv=On artisan schedule:run >> /dev/null 2>&1

seem to work fine - I am contacting the CWP techsupport to show me how to confiture cron job on their platform.

Do have question? , how long the those the cron need to be activated every 5 hours or every 10 min please let me know.

schedule:run should ideally be called every minute.

Great , I will set every min , another question notice. I have another problem running upgrade, when available to download do you have instruction of what permission setting on the folder should be set.
Had a problem doing upgrade provide error i may post try again.

There’s info here about permissions.

500: Internal Server Error what i get trying upgrade version.

There should be more details about the 500 error in either the web server error logs or in storage/logs

I need to fix this as it say in the Diagnostic of application


.

If you can share the details of the 500 error it would be helpful.

[Sun May 12 11:53:23.134687 2024] [:error] [pid 9286:tid 140406205363968] [client 216.186.218.172:51898] thrown in home/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 914, referer: https://serv15.6dysp.com:2083/
[Sun May 12 11:54:15.659350 2024] [:error] [pid 9286:tid 140406373218048] [client 216.186.218.172:51920] sh: php: command not found
[Sun May 12 11:54:55.533335 2024] [:error] [pid 10063:tid 140406213756672] [client 216.186.218.172:51926] PHP Fatal error: Allowed memory size of 209715200 bytes exhausted (tried to allocate 36864 bytes) in /home/app/Http/Controllers/SelfUpdateController.php on line 86, referer: https://home/public/index.php
[Sun May 12 11:54:55.538124 2024] [:error] [pid 10063:tid 140406213756672] [client 216.186.218.172:51926] PHP Fatal error: Allowed memory size of 209715200 bytes exhausted (tried to allocate 65536 bytes) in /home/vendor/sentry/sentry/src/Event.php on line 774, referer: https://home/public/index.php
[Sun May 12 13:37:10.252399 2024] [:error] [pid 9286:tid 140406213756672] [client 216.186.218.172:53498] sh: php: command not found
[Sun May 12 13:42:04.054334 2024] [:error] [pid 10063:tid 140406314469120] [client 216.186.218.172:53640] sh: php: command not found
[Sun May 12 14:42:03.248600 2024] [:error] [pid 10063:tid 140406222149376] [client 216.186.218.172:54414] sh: php: command not found
[Sun May 12 14:43:20.946227 2024] [:error] [pid 9287:tid 140406255720192] [client 216.186.218.172:54424] PHP Fatal error: Allowed memory size of 209715200 bytes exhausted (tried to allocate 36864 bytes) in /home/citywide/home/app/Http/Controllers/SelfUpdateController.php on line 86, referer: https://home/public/index.php
[Sun May 12 14:43:20.950448 2024] [:error] [pid 9287:tid 140406255720192] [client 216.186.218.172:54424] PHP Fatal error: Allowed memory size of 209715200 bytes exhausted (tried to allocate 65536 bytes) in /home/home/vendor/sentry/sentry/src/Event.php on line 774, referer: https://home/public/index.php
[Sun May 12 15:20:29.543958 2024] [:error] [pid 9286:tid 140406180185856] [client 216.186.218.172:55076] sh: php: command not found
[Sun May 12 15:22:15.164460 2024] [:error] [pid 9287:tid 140406297683712] [client 216.186.218.172:55120] sh: php: command not found
[Sun May 12 15:34:11.040092 2024] [:error] [pid 10063:tid 140406297683712] [client 216.186.218.172:55304] sh: php: command not found, referer: https://invoice.citywidetech.com/public/index.php
[Sun May 12 15:34:12.220090 2024] [:error] [pid 10063:tid 140406213756672] [client 216.186.218.172:55306] sh: php: command not found, referer: https://invoice.citywidetech.com/public/index.php
[Sun May 12 15:36:15.070536 2024] [:error] [pid 9287:tid 140406339647232] [client 216.186.218.172:55364] sh: php: command not found, referer: https://invoice.citywidetech.com/public/index.php
[Sun May 12 15:36:16.256056 2024] [:error] [pid 9315:tid 140406280898304] [client 216.186.218.172:55366] sh: php: command not found, referer: https://invoice.citywidetech.com/public/index.php
[Sun May 12 15:37:14.600280 2024] [:error] [pid 9315:tid 140406196971264] [client 216.186.218.172:55386] sh: php: command not found, referer: https://invoice.citywidetech.com/public/index.php
[Sun May 12 15:37:15.770593 2024] [:error] [pid 9315:tid 140406222149376] [client 216.186.218.172:55388] sh: php: command not found, referer: https://invoice.citywidetech.com/public/index.php
[Sun May 12 15:47:07.152760 2024] [:error] [pid 9287:tid 140406188578560] [client 216.186.218.172:55574] sh: php: command not found, referer: https://invoice.citywidetech.com/public/index.php
[Sun May 12 15:47:08.317461 2024] [:error] [pid 9315:tid 140406297683712] [client 216.186.218.172:55576] sh: php: command not found, referer: https://invoice.citywidetech.com/public/index.php
[Sun May 12 19:40:37.993402 2024] [:error] [pid 10063:tid 140406348039936] [client 216.186.218.172:59118] sh: php: command not found

It looks like there may be two separate problems, the memory limit needs to be increased and PHP may not be available from the CLI.

Hillel , thank you.
Have fix memory limit was able to update invoice Ninja with out any problem.
How i enable Queue do see so many code don’t know witch one maybe you can point that out.
Thank you

There’s info here on setting up the queue: