Questions tagged [commands]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
31 views

Parse variable to new queue job

Is there a way to parse a variable to a queue job? I want to re-send some Craft commerce emails via a cron job, so have created a console controller for the cron job to run a command against. This ...
1
vote
1answer
19 views

Console command ./craft db/restore expects “info” table. Why?

Why does the console command ./craft db/restore expect the info table to exist and contain a row? There is also no option to ignore a non-existing info or empty info table. When we create automated ...
1
vote
1answer
36 views

execute Yii2 console command from Yii2 extension with Craft

Does anyone know if and how a console command from a Yii2 extension can be used with Craft? To be more specific, I would like to use https://www.yiiframework.com/extension/yii2-migration-creator which ...
1
vote
1answer
22 views

Running Craft Console Commands on Webfaction

I'm trying to run a few of Craft's console commands on a Webfaction server to automate running Craft migrations and resolving Project Config changes, and it's throwing an error. Here's what I'm doing: ...