Skip to content

litondev/laravel-7-command-job-event-log

Repository files navigation

Laravel Command Job Event Queue And Log

Purpose :

I make this repository to learn command job event log in laravel

Run Command :

php artisan laravel-app:test-command

Run Queue :

  • php artisan queue:work job_users
  • php artisan queue:work job_admins

Using Supervisor For Production

  • http://supervisord.org/
  • Example Config :
        [program:email-queue]
        process_name=%(program_name)s_%(process_num)02d
        command=/usr/bin/php /home/user/Project/ispm/api/artisan queue:work
        autostart=true
        autorestart=true
        user=user
        numprocs=1
        redirect_stderr=true
        stdout_logfile=/home/user/Project/ispm/api/storage/logs/supervisord.log
        

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published