Search code examples
laravellaravel-seeding

Laravel Seeder on Server


I just run seeder on my server using SSH but my connection is lost during progress, so I need to re-login the SSH. my question is. is the seeder still running?

Thank you.


Solution

  • As mentioned on a serverfault post.

    In most cases, no. Processes will be sent a SIGHUP on loss of terminal. You can prefix a command with 'nohup' to ignore the signal. See:

    http://en.wikipedia.org/wiki/Nohup