0
Beantwortet

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

Kyle Simmons vor 10 Jahren aktualisiert von Eugene Pankov (Project coordinator) vor 10 Jahren 3

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

Antwort

Antwort
Beantwortet

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

Antwort
Beantwortet

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.