Can anyone help me out? im trying to set my h2s to run a .sh command i have that i use to create a bouquet of my iptv channels. The script works fine when i manually ssh it. However i was thinking of making a crontimer to run this script automatically so it auto updates my iptv bouquet if new channels have been added. But i cant get it to work.
So far
I have added #!/bin/bash to the start of the command i normally manually run (I was advised this was needed to make it a script rather than a command).
I saved as a .sh file. I put it in the same folder as the .sh scripts already used by the image (/usr/scripts)
i used contab -e in putty to create and edit a crontimer. but it doesnt seem to run correctly. im presuming theres something wrong with the .sh file im trying to run
Thanks in advance.
So far
I have added #!/bin/bash to the start of the command i normally manually run (I was advised this was needed to make it a script rather than a command).
I saved as a .sh file. I put it in the same folder as the .sh scripts already used by the image (/usr/scripts)
i used contab -e in putty to create and edit a crontimer. but it doesnt seem to run correctly. im presuming theres something wrong with the .sh file im trying to run
Thanks in advance.