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 →

Scheduler task only firing once

Started by Adrian Waterhouse 5 years ago · 0 replies · 712 views
5 years ago

Has there been any changes in the Scheduling system, I have a strange situation where a job has only run once on the day it was created but never again (it should be daily dripsms-dayjob).

Running the CLI commands show when it was last run, and when it is a scheduled to run again but it never seems to trigger as the last run remains the day it was setup.
There's no errors being reported.

The scheduler is running, as the daily backups is running and updates it's last run time.

Any ideas on things to check are greatly appreciated.

Best,
Adrian

Scheduler Jobs Listing

TXT
┌─────────────────────┬────────────────────────────────────────┬───────────┬─────────┬──────────────────┬──────────┐
│ Job ID              │ Command                                │ Run At    │ Status  │ Last Run         │ State    │
├─────────────────────┼────────────────────────────────────────┼───────────┼─────────┼──────────────────┼──────────┤
│ dripsms-dayjob      │ Grav\Plugin\DripSmsPlugin::scheduleDay │ 0 8 * * * │ Success │ 2021-09-22 08:00 │ Enabled  │
│ default-site-backup │ Grav\Common\Backup\Backups::backup     │ 0 3 * * * │ Success │ 2021-10-12 03:00 │ Enabled  │
│ cache-purge         │ Grav\Common\Cache::purgeJob            │ 0 4 * * * │ Success │ 2020-04-16 04:00 │ Disabled │
│ cache-clear         │ Grav\Common\Cache::clearJob            │ 0 3 * * * │ Success │ 2020-04-16 03:00 │ Disabled │
└─────────────────────┴────────────────────────────────────────┴───────────┴─────────┴──────────────────┴──────────┘
 ! [NOTE] For error details run "bin/grav scheduler -d"

Job Details

TXT
┌─────────────────────┬──────────────────┬──────────────────┬────────┐
│ Job ID              │ Last Run         │ Next Run         │ Errors │
├─────────────────────┼──────────────────┼──────────────────┼────────┤
│ dripsms-dayjob      │ 2021-09-22 08:00 │ 2021-10-13 08:00 │ None   │
│ default-site-backup │ 2021-10-12 03:00 │ 2021-10-13 03:00 │ None   │
│ cache-purge         │ 2020-04-16 04:00 │ 2021-10-13 04:00 │ None   │
│ cache-clear         │ 2020-04-16 03:00 │ 2021-10-13 03:00 │ None   │
└─────────────────────┴──────────────────┴──────────────────┴────────┘
last edited 10/12/21 by pamtbaau

Suggested topics

Topic Participants Replies Views Activity
General · by themetman, 23 hours ago
2 39 16 hours ago
General · by Hanns Mattes, 1 week ago
0 119 1 week ago
General · by Karmalakas, 1 week ago
2 184 1 week ago
General · by Hanns Mattes, 3 weeks ago
0 234 3 weeks ago
General · by Dima, 4 weeks ago
1 210 4 weeks ago