Skip to content
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

Job Queue #11

Open
mrsieb opened this issue Nov 22, 2016 · 4 comments
Open

Job Queue #11

mrsieb opened this issue Nov 22, 2016 · 4 comments

Comments

@mrsieb
Copy link

mrsieb commented Nov 22, 2016

I wonder how to handel more jobs. Is there a smart way to send a upload task to the same instance and continue automaticaly if the ongoing is done ?

@mrsieb
Copy link
Author

mrsieb commented Nov 23, 2016

I tried to queue it up with detached screen sessions but

  1. nyuu terminates screen session when its done
  2. i can not send nyuu to a named session with parameter -X of screen

Usually this works great..
screen -d -m -S queue
screen -S queue -X stuff "echo first^M"
screen -S queue -X stuff "echo second^M"

@animetosho
Copy link
Owner

Nyuu doesn't have any explicit job control at the moment. I can't test it now, but I wouldn't have thought that it does anything special with screen though.

Maybe an alternative? http://stackoverflow.com/questions/7485776/start-script-after-another-one-already-running-finishes

Or just simply pasting commands into a running terminal might work.

@mrsieb
Copy link
Author

mrsieb commented Nov 24, 2016

I am fine now, with the task spooler, does exactly what i need also nice control over the pending tasks.
https://launchpad.net/ubuntu/+source/task-spooler
Any how it would be a great feature of nyuu if it's has his own tasksheduler.
Like starting nyuu -listeningmode:tcp||http:1234 and then send the standard paramters over this port with curl - f foo@bar foofile tcp://localhost:1234 in a queue , maybe also possibel with the allready implemented --progress http||tcp option. Anyhow I love nyuu thanks for this great alternativ, just one question more how ist going with the parpar integration ?

@animetosho
Copy link
Owner

Glad to hear that you got it working, and thanks for the suggestion. I can't really comment on ParPar integration - it happens when it happens.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants