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 · 504 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 BenLaKnet, 5 days ago
1 122 2 days ago
Support · by BenLaKnet, 1 week ago
5 195 2 days ago
Support · by kskt, 3 days ago
0 44 3 days ago
Support · by David Meissner, 3 days ago
0 43 3 days ago
Support · by David Meissner, 4 days ago
3 92 3 days ago