0
Answered

How to use progress bar for task running a script/command

Kyle Simmons 10 years ago updated by Eugene Pankov (Project coordinator) 10 years ago 3

How do you use the progress bar for a task running that is running a script/command?

Answer

Answer
Answered

Unfortunately this is not possible - Ajenti simply launches a background shell for your command.

Answer
Answered

Unfortunately this is not possible - Ajenti simply launches a background shell for your command.

Oh really? Would the best way to make this happen be to write my own plugin?

I guess so :)

Making own task plugin will also let you influence status message, success/failure status and postmortem error message.

Example of "copy files" task: https://github.com/Eugeny/ajenti/blob/dev/ajenti/plugins/tasks/tasks.py#L29

Okay great! Thanks for the info.