Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds Laravel Scheduling commands. #433

Merged
merged 1 commit into from
Feb 17, 2025
Merged

Adds Laravel Scheduling commands. #433

merged 1 commit into from
Feb 17, 2025

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