Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Grav Scheduler not running

Started by Olivier Zurkirchen 6 years ago · 0 replies · 673 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 webmasterodp, 4 days ago
4 111 3 days ago
Support · by nwhitfield, 5 days ago
2 99 5 days ago
Support · by stell, 2 weeks ago
5 341 1 week ago
Support · by gravinator, 1 month ago
5 540 1 week ago
Support · by Gravver, 3 weeks ago
6 334 3 weeks ago