BugBuster1701 / contao-cron-bundle

Contao 4/5 CRON Scheduler Bundle
GNU Lesser General Public License v3.0
2 stars 1 forks source link

Question: Standard Contao CronJob - ../vendor/bin/contao-console contao:cron #54

Open csaeum opened 2 months ago

csaeum commented 2 months ago

I'm currently having the problem that the Contao web space doesn't allow real CronJobs.

I've just installed version 1.6.0 under version 5.3.15.

I wanted to enter the standard Contao CronJob in your extension.

JOB: ../vendor/bin/contao-console contao:cron

If I run it in the backend, I get a "Bad Request"

How can I run it?

BugBuster1701 commented 2 months ago

Command line calls are not supported. #51 See: https://docs.contao.ninja/books/user-guide_cron_bundle/en/define-cronjobs/ But you can use this url: https://example.org/_contao/cron Or, untested, as route: /_contao/cron