Chmod 777 with the sh file in usr/script
Then telnet /usr/script/toppicks2.sh
Like the above
Sent from my SM-A500FU using Tapatalk
yeah that's what im trying to say before i've done it exactly like that
i downloaded the toppicks2.sh from the github source, placed in /usr/script , gave it chmod 777
created the cron job for every 24 hours
ran the command /usr/script/toppicks2.sh said not found
i even tried changing the chmod to 755 and still not found
then i tried changing the location to /var/script
chmod 777, ran command, not found
i then tried from the command /bin/sh /usr/script/toppicks.sh and it picked the file up but didn't download, so it knows the file is there but my box doesn't like it
i know what i need to do to execute the shell, but it is not letting me do it, i've got a duo2 so very different to zgemma, should all work the same way but unfortunately there are differences
this is what i got when i ran /bin/sh /usr/script/toppicks2.sh
root@vuduo2:/usr/script# /bin/sh /usr/script/toppicks2.sh
: not found/toppicks2.sh: line 4:
Connecting to
www.sky.com (104.65.19.97:80)
coming-soon-to-sky-c 100% |*******************************| 105k 0:00:00 ETA
: not found/toppicks2.sh: line 7:
cat: can't open 'coming-soon-to-sky-cinema-premiere': No such file or directory
: not found/toppicks2.sh: line 11:
sed: links.txt: No such file or directory
'get: bad address '
: not found/toppicks2.sh: line 18:
sed: links.txt: No such file or directory
'get: bad address '
: not found/toppicks2.sh: line 25:
sed: links.txt: No such file or directory
'get: bad address '
: not found/toppicks2.sh: line 32:
sed: links.txt: No such file or directory
'get: bad address '