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.

General

Scheduler task only firing once

Started by Adrian Waterhouse 5 years ago · 0 replies · 392 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 Jerry Hunt, 4 days ago
2 74 6 hours ago
General · by pamtbaau, 12 hours ago
1 47 11 hours ago
General · by Andy Miller, 24 hours ago
0 44 24 hours ago
General · by Marcel, 12 months ago
6 346 5 days ago
General · by Duc , 5 days ago
3 39 5 days ago