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: pastebin.com/RArhsc0g
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/cron_add.sh
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 Install.sh )
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.