Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Grav Scheduler not running

Started by Olivier Zurkirchen 6 years ago · 0 replies · 744 views
6 years ago

Hi,

I'm currently developing a little plugin for grav but I'm having troubles getting the scheduler to run. Let me show you:

Everything looks fine. I've registered the scheduler in the cron tab and when I run the scheduler I get no errors. However, none of the tasks are being executed and I'm always getting "last run -> never"

TXT
 ┌─────────────────────┬──────────┬──────────────────┬────────┐

│ Job ID │ Last Run │ Next Run │ Errors │
├─────────────────────┼──────────┼──────────────────┼────────┤
│ cache-purge │ Never │ 2020-10-10 04:00 │ None │
│ cache-clear │ Never │ 2020-10-10 03:00 │ None │
│ wood-tools-index │ Never │ 2020-10-09 18:00 │ None │
│ default-site-backup │ Never │ 2020-10-10 12:00 │ None │
└─────────────────────┴──────────┴──────────────────┴────────┘

also
bin/grav scheduler -v
gives me:

JS
Running Scheduled Jobs
======================

that's it.

What am I doing wrong? is there any way to see some debug information?

Thanks.

Suggested topics

Topic Participants Replies Views Activity
Support · by Anna, 4 days ago
1 89 4 days ago
Support · by Anna, 3 weeks ago
1 260 3 weeks ago
Support · by webmasterodp, 1 month ago
4 378 1 month ago
Support · by nwhitfield, 1 month ago
2 349 1 month ago
Support · by stell, 2 months ago
5 654 1 month ago