Scheduler: Make background tasks and Task Output options usable with $schedule->job() #34063
Unanswered
connecteev
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When scheduling commands, the runInBackground method may only be used when scheduling tasks via the command and exec methods.
https://laravel.com/docs/master/scheduling#background-tasks
Also, the emailOutputTo, emailOutputOnFailure, sendOutputTo, and appendOutputTo methods are exclusive to the command and exec methods.
https://laravel.com/docs/master/scheduling#task-output
It would be really nice if these could be used with queue-able jobs:
$schedule->job(...)
Beta Was this translation helpful? Give feedback.
All reactions