This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
dragontree
If I want to use my own class as a job handler, where should I put it?
The docs mention the class SendEmail but nothing is said on where it should be.
dragontree
Missed the fact that the classname should be namespaced: Queue::push('\YourName\PluginName\classes\SendEmail', ['message' => $message]);
skygdi
I am facing the same problem. Wondering how to make:job by artisan or somewhere in the octobercms.
skygdi
I found the solution now. You have to write your own class so that it could be used by the queue daemon.
Queue::push('\Skygdi\SendEmail\Jobs\SendEmail@SchedulePDF', ['emails' => $emails,"date"=>$date]);
1-4 of 4