Skip to content
● Critical PHP security fixes are out: update PHP on your Grav sites. What to do →

Scheduler with webhook

plugins

Solved by Andy Miller View solution

Started by BenLaKnet 4 months ago · 11 replies · 722 views
4 months ago

I tried to use webhook for my grav website, but it returns:

{

"error": "Modern scheduler is not enabled"

}

Plugin is correctly installed and activated because I have this message too:

scheduler-webhook le plugin est installé et activé.

Same issue with health.

How to update hours of system scheduler, I have to change "at" parameter for my shared webhosting?

I do no find any config files with that possibility.

last edited 07/05/26 by BenLaKnet
4 months ago

@BenLaKnet said:

How to update hours of system scheduler, I have to change "at" parameter for my shared webhosting?
I do no find any config files with that possibility.

I found in admin2: config / system / cache / cache-clear and cache-purge.

How setup webhook, please?

last edited 07/06/26 by BenLaKnet
4 months ago

First install the scheduler-webhook plugin, then turn it on in Tools -> Scheduler -> Advanced Features -> Webhook Configuration -> Enable Webhook Triggers

last edited 07/07/26 by Andy Miller
4 months ago

Ok, it's an extra check that's left over from Grav 1.x. that doesn't exist in Grav 2. I'll work on a fix that will probably have to be in the Grav core. Actually I can do it in scheduler-webhook plugin.. Fix incoming, check for updates.

👍 1
last edited 07/07/26 by Andy Miller
4 months ago

It is running for health.

I just have an error with "Invalid authorization token"

Without secure token it is running,

but with one generated token with: "openssl rand -hex 32", it is not.

I generated a key with profile, but same issue.

Many thanks

last edited 07/07/26 by BenLaKnet
4 months ago

i'll take a look at the authorization token logic

4 months ago Solution

-H "X-Webhook-Token: <token>"

👍 1 😄 1
4 months ago

Many thanks, You're a star.

it is running with: -H "X-Webhook-Token: <token>"

Maybe you have to change documentation into Tools / scheduler.

last edited 07/07/26 by BenLaKnet

Suggested topics

Topic Participants Replies Views Activity
Support · by webmasterodp, 2 weeks ago
4 241 2 weeks ago
Support · by nwhitfield, 2 weeks ago
2 210 2 weeks ago
Support · by stell, 4 weeks ago
5 455 3 weeks ago
Support · by gravinator, 2 months ago
5 634 3 weeks ago
Support · by Gravver, 1 month ago
6 428 4 weeks ago