Cron job 2.0.1 error


I installed mautic 2.0.1,
I changed the new CLI, but
generates error :
Quote:
$ Input = new ArgvInput ( $ args )

I need to execute commands from the cron-job.org .

In version 1.4 the cron job normally run from cron -job- org.

I do not understand why not run properly .

I installed mautic 2.0.1,
I changed the new CLI, but
generates error :

I need to execute commands from the cron-job.org .

In version 1.4 the cron job normally run from cron -job- org.

I do not understand why not run properly .

hola!

If you execute php -v, the CLI PHP version appears. Isn’t it some older version than Mautic 2 supports?

Ive got the problem and to be honest, I dont understand the reply of esopecz.
Where do I have to execute this, could you write a short, non cryptic example?
Would be great and I would be so grateful

Klaus

As clalihu wroute “CLI” in her question, I assumed she knows how to execute a CLI command.

If you want to execute a CLI command, you have to open a terminal if you are on unix system (it is more difficult on Windows, but I don’t use them so I cannot tell, google it maybe) and paste in the command and hit enter.

This will work if your server is on your local computer. If not, you have to first log in to your server via SSH and then execute the command.

Ah, OK, I use putty for this . Now its clear and I`ll test this

THX2U
Klaus

Hi there,
it`s me again,
I executed the php -v via SSH, but nothing changes
Can you please explain me, how I have to use it to run may cron jobs again?

THX
Klaus

That command php -v is to show the version of php so you can check. There’s probably a version conflict between cron-job.org and Mautic. If that’s the case you’ll need an alternative way to schedule your jobs.
If you can ssh (putty etc.) to your server, on the command line enter :

php /mautic/app/console mautic:campaigns:trigger --env=prod
(you’ll need to specify the web folder before /mautic, such as /var/www etc…)

See what this produces and if it triggers your campaigns.
Also check your logs in the /app/log/

https://www.mautic.org/community/index.php/5092-mautic-2-0-up-cronjob @balkee