Skip to content
Grav 2.0 is officially stable. Read the announcement →
Support

Scheduler with webhook

plugins

Solved by Andy Miller View solution

Started by BenLaKnet 3 weeks ago · 11 replies · 272 views
3 weeks 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
3 weeks 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
2 weeks 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
2 weeks 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
2 weeks 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
2 weeks ago

i'll take a look at the authorization token logic

2 weeks ago Solution

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

👍 1 😄 1
2 weeks 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 Anna, 7 hours ago
1 13 2 hours ago
Support · by TomW, 4 hours ago
1 18 4 hours ago
Support · by Anna, 3 days ago
7 94 7 hours ago
Support · by Anna, 3 days ago
5 100 7 hours ago
Support · by stuart young, 2 days ago
2 71 2 days ago