Running jobs from the command line in concrete5.7.5.2
Permalink
Last night i upgraded to concrete5.7.5.2. all working fine, except for one thing: i can no longer run custom jobs from the command line!
I can run them inhttp://[sitename]/index.php/dashboard/system/optimization/jobs... with no problem, but when i am on the command line and execute:
i get the following error:
Running jobs in the console worke like a charm in the previous version, and i really miss this!! Anyone experiencing this issue?
Let me know!
W
I can run them inhttp://[sitename]/index.php/dashboard/system/optimization/jobs... with no problem, but when i am on the command line and execute:
c5:jobs --list
i get the following error:
Available Jobs [ReflectionException] Class \Concrete\Package\ImageGallery\Job\ProcessGalleries does not exist c5:job [--set] [--list] [--] [<jobs>]...
Running jobs in the console worke like a charm in the previous version, and i really miss this!! Anyone experiencing this issue?
Let me know!
W
Works perfect!!!
Thanks
W
Thanks
W
Hi I just read thatwe can use console commands. So I tried your command c5:jobs --list but it sais command not found.
Can you tell me how to use the console in c5?
Can you tell me how to use the console in c5?
Daenu it's probably best in the future to create your own thread for different issues so that they get the attention they deserve and its easier for people trying to answer the same question to find answers in the future.
To answer your question the concrete5 command line can be run out of /concrete/bin/concrete5. You will need to make sure that this file has execute permissions on your system.
So to run the jobs list you would use
To answer your question the concrete5 command line can be run out of /concrete/bin/concrete5. You will need to make sure that this file has execute permissions on your system.
So to run the jobs list you would use
./concrete/bin/concrete5 c5:job --list
https://github.com/concrete5/concrete5/pull/2984/files...