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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Support

Grav Scheduler not running

Started by Olivier Zurkirchen 6 years ago · 0 replies · 453 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 Thomas, 1 week ago
2 60 16 hours ago
Support · by Anna, 3 days ago
2 66 19 hours ago
Support · by Justin Young, 20 hours ago
1 34 20 hours ago
Support · by Duc , 1 week ago
2 70 6 days ago
Support · by Colin Hume, 1 week ago
2 61 6 days ago