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

Scheduler task only firing once

Started by Adrian Waterhouse 5 years ago · 0 replies · 454 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 ian russell, 3 days ago
2 105 3 days ago
General · by pamtbaau, 1 month ago
2 370 1 week ago
General · by Hanns Mattes, 1 month ago
2 354 2 weeks ago
General · by Andy Miller, 1 month ago
0 257 1 month ago
General · by Jerry Hunt, 1 month ago
2 398 1 month ago