Skip to content

Conversation

aksld
Copy link
Contributor

@aksld aksld commented Feb 12, 2025

Hey,

After using Jobs and Queues, I needed the Task Scheduling feature.

Here's what I modified to make it happen.

For your information, I've created a new provider that triggers the job:

public function boot(): void
    {
        $this->app->booted(function () {
			$schedule = $this->app->make(Schedule::class);
			$schedule->job(new MonitoringGetDailyContentJob())->dailyAt('10:00');
        });
    }

Loads the various commands into the kernel.
Adds dragonmantank/cron-expression dependency.
@Log1x Log1x merged commit e0adc36 into roots:main Feb 17, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants