-
Notifications
You must be signed in to change notification settings - Fork 13
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
How about background jobs? #26
Comments
hmm I'm a little bit hesitant to add this to |
I mean Sometimes I need to map local ports to server ports using ssh tunnelling, and kill them after I'm done. If I have corgi with background job management, I can simply write one corgi script, then use template to pass ports and all that, kill them after I'm done. |
ok I see, so what you requested are actually two parts:
I think point 1 is actually a good addition since starting As for managing background jobs, do you think it'll be the same if you just do |
It will not be the same,
That's why pm2 is not the man for the job. While pm2 has a daemon in the background, monitoring all process status, corgi need only remember the |
lol that was a mis-click. I'll research a little bit more, since this feature doesn't seem to be trivial I'll see if it can fit into the 0.3.0 release |
@DrakeW After trying to make a pull request about this, I met 2 problems:
For the About the logs and all that, I'm thinking to write an independent package just to manage those background jobs. With Appreciate some advice. |
@FrontMage - thanks for your effort in making this happen
|
@DrakeW If all steps a made background job, there will be more than one |
the |
Sometimes a job can take a long time or just a daemonized job. Wouldn't it be great to have something like
pm2
to manage background jobs?The text was updated successfully, but these errors were encountered: