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

Grav Scheduler not running

Started by Olivier Zurkirchen 6 years ago · 0 replies · 593 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 Paul Hodges, 4 weeks ago
19 484 5 days ago
Support · by Lauw, 7 days ago
2 99 7 days ago
Support · by Anna, 3 weeks ago
4 426 1 week ago
Support · by gtx, 4 weeks ago
4 377 3 weeks ago
Support · by Anna, 1 month ago
9 484 3 weeks ago