Running .sh with onStart and onStop?


I’m trying to figure out calling a few .sh-script allowing me to add things to cron.hourly with my plugin.

Currenlty i trying something like:

But i’m meet by an error like:

Restarting cron_add failed with error: Error: Command failed: /usr/bin/sudo bash /data/plugins/system_controller/podstream/ sudo: no tty present and no askpass program specified

I really tried to find out how to execute the shell scripts. (all files is chmod +x in the :slight_smile: )

Could anything tell me how to do it - or point me in the right direction? I did try looking into multiple repos with no luck.

Thanks :smiley:

Okay… Well…

I did look into it, and now i’m almost done with the plugin in the first “stable”-version.
You’re welcome to take a look at it, right here:

When it’s stable, i will post it in the master-thread with plugins :slight_smile: